We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e69e5a commit 426bf0cCopy full SHA for 426bf0c
clang/test/AST/Interp/builtin-functions.cpp
@@ -514,7 +514,9 @@ namespace bswap {
514
#define CFSTR __builtin___CFStringMakeConstantString
515
void test7(void) {
516
const void *X;
517
+#if !defined(_AIX)
518
X = CFSTR("\242"); // both-warning {{input conversion stopped}}
519
+#endif
520
X = CFSTR("\0"); // no-warning
521
X = CFSTR(242); // both-error {{cannot initialize a parameter of type 'const char *' with an rvalue of type 'int'}}
522
X = CFSTR("foo", "bar"); // both-error {{too many arguments to function call}}
0 commit comments