summaryrefslogtreecommitdiff
path: root/clang/test/Sema/implicit-cast.c
blob: 088b1958d9b85c43482a38f3e4852fb340f08c9f (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only %s

static char *test1(int cf) {
  return cf ? "abc" : 0;
}
static char *test2(int cf) {
  return cf ? 0 : "abc";
}