Sign in
cobalt
/
cobalt
/
refs/tags/21.lts.2
/
.
/
src
/
third_party
/
llvm-project
/
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
};
}