Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6896a371e302c63ce3d4a99ad2c32e42dde6a9e4
/
.
/
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>'}}