[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git] / clang / test / Parser / compound_literal.c
blob00544996e3c1ac65cfdf09ce29b963e6b8b4a351
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -x c++ %s
3 // expected-no-diagnostics
4 int main() {
5 char *s;
6 s = (char []){"whatever"};
7 s = (char(*)){s};