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