hanchenye-llvm-project/clang/test/Sema/implicit-cast.c

9 lines
149 B
C

// RUN: %clang_cc1 -fsyntax-only %s
static char *test1(int cf) {
return cf ? "abc" : 0;
}
static char *test2(int cf) {
return cf ? 0 : "abc";
}