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