diff options
Diffstat (limited to 'clang/test/Sema/conditional.c')
-rw-r--r-- | clang/test/Sema/conditional.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Sema/conditional.c b/clang/test/Sema/conditional.c new file mode 100644 index 00000000000..3af0fe57b43 --- /dev/null +++ b/clang/test/Sema/conditional.c @@ -0,0 +1,4 @@ +// RUN: clang %s -fsyntax-only + +const char* test1 = 1 ? "i" : 1 == 1 ? "v" : "r"; + |