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