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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Parser
/
compound_literal.c
blob
808ca63f97d9eeaa4f9bb8c93f285eb05449c015
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
};
8
}