Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
0e0bae8139e25de81f18b6a519783a06f7ba1e25
/
.
/
test
/
Sema
/
invalid-init-diag.c
blob: 724d0ea368ba16a8ba36e5120b1f61d2de7d2617 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -verify -fsyntax-only
int
a
;
struct
{
int
x
;}
x
=
a
;
// expected-error {{incompatible type initializing 'int', expected 'struct <anonymous>'}}