minix/external/bsd/llvm/dist/clang/test/Sema/implicit-cast.c

9 lines
149 B
C
Raw Normal View History

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