Sign in
llvm
/
llvm-project
/
98dbcff19cfedb4e27d267310a76d616cd435447
/
.
/
clang
/
test
/
Parser
/
compound_literal.c
blob: 00544996e3c1ac65cfdf09ce29b963e6b8b4a351 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// RUN: %clang_cc1 -fsyntax-only -verify -x c++ %s
// expected-no-diagnostics
int
main
()
{
char
*
s
;
s
=
(
char
[]){
"whatever"
};
s
=
(
char
(*)){
s
};
}