freebsd-nq/test/Sema/implicit-cast.c
2010-01-01 10:34:51 +00:00

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";
}