diff options
Diffstat (limited to 'clang/test/Parser/compound_literal.c')
-rw-r--r-- | clang/test/Parser/compound_literal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Parser/compound_literal.c b/clang/test/Parser/compound_literal.c new file mode 100644 index 0000000..4f3609d --- /dev/null +++ b/clang/test/Parser/compound_literal.c @@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -fsyntax-only -verify %s +int main() { + char *s; + s = (char []){"whatever"}; +} |