================ @@ -113,5 +113,3 @@ void foo(void *); void bar() { foo(__nullptr); } static_assert(nullptr == __nullptr); static_assert(_Generic(typeof(__nullptr), nullptr_t: true, default: false)); -_Static_assert(__nullptr == 0); // Test that its value matches that of NULL ---------------- erichkeane wrote:
I would probably leave the tests from aaron in BOTH modes, but otherwise LGTM. https://github.com/llvm/llvm-project/pull/123119 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits