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