repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[lld][WebAssembly] Reinstate mistakenly disabled test. NFC
[llvm-project.git]
/
clang
/
test
/
Parser
/
compound_literal.c
blob
00544996e3c1ac65cfdf09ce29b963e6b8b4a351
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
};
8
}