Skip to content

Commit 1d9fb2e

Browse files
committed
[clang][Interp] Disable CFStringMakeConstantString test on AIX
It's not only the fist CFSTR call that's broken on AIX. See llvm@0a739eb#commitcomment-139910542
1 parent 4109b18 commit 1d9fb2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/AST/Interp/builtin-functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,8 @@ void test7(void) {
516516
const void *X;
517517
#if !defined(_AIX)
518518
X = CFSTR("\242"); // both-warning {{input conversion stopped}}
519-
#endif
520519
X = CFSTR("\0"); // no-warning
521520
X = CFSTR(242); // both-error {{cannot initialize a parameter of type 'const char *' with an rvalue of type 'int'}}
522521
X = CFSTR("foo", "bar"); // both-error {{too many arguments to function call}}
522+
#endif
523523
}

0 commit comments

Comments
 (0)