Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -fsyntax-only %s |
Steve Naroff | d4dd30f | 2007-10-18 05:13:08 +0000 | [diff] [blame] | 2 | |
3 | static char *test1(int cf) { | ||||
4 | return cf ? "abc" : 0; | ||||
5 | } | ||||
6 | static char *test2(int cf) { | ||||
7 | return cf ? 0 : "abc"; | ||||
8 | } |