Sign in
llvm
/
clang
/
refs/heads/release_27
/
.
/
test
/
Sema
/
invalid-init-diag.c
blob: a215fa7c254ba83410a6a778dc0f1123fcb0e61e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -verify -fsyntax-only
int
a
;
struct
{
int
x
;}
x
=
a
;
// expected-error {{incompatible type initializing 'int', expected 'struct <anonymous>'}}