[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Parser / compound_literal.c
blob808ca63f97d9eeaa4f9bb8c93f285eb05449c015
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(void) {
5 char *s;
6 s = (char []){"whatever"};
7 s = (char(*)){s};