Sign in
fuchsia
/
third_party
/
llvm-project
/
c3fd2a50ba1395b6c2240f6a688c6a1aa975a1fe
/
.
/
clang
/
test
/
Sema
/
init-invalid-struct-array.c
blob: e234d68039c0dece82251814621c26e40efa6a9f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -verify -fsyntax-only
struct
S
{
Unknown
u
;
// expected-error {{unknown type name 'Unknown'}}
int
i
;
};
// Should not crash
struct
S s
[]
=
{[
0
].
i
=
0
,
[
1
].
i
=
1
,
{}};