diff --git a/clang/test/AST/Interp/builtin-functions.cpp b/clang/test/AST/Interp/builtin-functions.cpp index a09c6d3acca5d..2e9d1a831dcf6 100644 --- a/clang/test/AST/Interp/builtin-functions.cpp +++ b/clang/test/AST/Interp/builtin-functions.cpp @@ -516,8 +516,8 @@ void test7(void) { const void *X; #if !defined(_AIX) X = CFSTR("\242"); // both-warning {{input conversion stopped}} -#endif X = CFSTR("\0"); // no-warning X = CFSTR(242); // both-error {{cannot initialize a parameter of type 'const char *' with an rvalue of type 'int'}} X = CFSTR("foo", "bar"); // both-error {{too many arguments to function call}} +#endif }