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