Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -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 | } |