Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
refs/heads/fp2-m-sibon
/
.
/
test
/
Sema
/
invalid-init-diag.c
blob: 3e4870e0cab112f7cbf47ea8175265fb18075865 [
file
] [
log
] [
blame
]
Shih-wei Liao
ea28516
2010-06-04 12:34:56 -0700
[
diff
] [
blame
]
1
// RUN: %clang_cc1 %s -verify -fsyntax-only
2
3
int
a
;
4
struct
{
int
x
;}
x
=
a
;
// expected-error {{with an expression of incompatible type 'int'}}