================
@@ -0,0 +1,3 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+char hello = __builtin_nanf(L""); // expected-error {{incompatible pointer
types passing 'int[1]' to parameter of type 'const char *'}}
----------------
AaronBallman wrote:
Can you also add coverage for other string literal formats and other nan
spellings?
https://github.com/llvm/llvm-project/pull/205452
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits