Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d3cf17b5f1fed43dbd0cd35c43d15139803c9c84
/
.
/
test
/
Sema
/
invalid-init-diag.c
blob: 3e4870e0cab112f7cbf47ea8175265fb18075865 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -verify -fsyntax-only
int
a
;
struct
{
int
x
;}
x
=
a
;
// expected-error {{with an expression of incompatible type 'int'}}