[libcxx-commits] [libcxx] [AIX][libc++] fopen() does not support the 'x' (exclusive/noreplace) mode suffix. (PR #206498)
Jake Egan via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 7 20:25:34 PDT 2026
================
@@ -83,7 +81,11 @@ int main(int, char**)
std::filebuf f;
f.open(tmp.c_str(), mode);
+# if defined(_AIX)
+ assert(!f.is_open());
----------------
jakeegan wrote:
Should check for the warning with `// expected-warning`
https://github.com/llvm/llvm-project/pull/206498
More information about the libcxx-commits
mailing list