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
[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git]
/
clang
/
test
/
Sema
/
init-invalid-struct-array.c
blob
e234d68039c0dece82251814621c26e40efa6a9f
1
// RUN: %clang_cc1 %s -verify -fsyntax-only
2
3
struct
S
{
4
Unknown u
;
// expected-error {{unknown type name 'Unknown'}}
5
int
i
;
6
};
7
// Should not crash
8
struct
S s
[] = {[
0
].
i
=
0
, [
1
].
i
=
1
, {}};