Sign in
llvm
/
clang
/
b15c08d32c072399e59c388bbf6a814831a0bb92
/
.
/
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
};
}