blob: 088b1958d9b85c43482a38f3e4852fb340f08c9f [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only %s
Steve Naroffd4dd30f2007-10-18 05:13:08 +00002
3static char *test1(int cf) {
4 return cf ? "abc" : 0;
5}
6static char *test2(int cf) {
7 return cf ? 0 : "abc";
8}