[libcxx-commits] [libcxx] [AIX][libc++] fopen() does not support the 'x' (exclusive/noreplace) mode suffix. (PR #206498)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 8 05:14:07 PDT 2026


================
@@ -82,8 +80,13 @@ int main(int, char**)
             std::remove(tmp.c_str());
 
             std::filebuf f;
+            // expected-warning at +1 {{fstream::open() with noreplace is not supported on AIX; open() will return failure}}
----------------
philnik777 wrote:

This doesn't test anything. It needs to be in a `.verify.cpp` test.

https://github.com/llvm/llvm-project/pull/206498


More information about the libcxx-commits mailing list