Sign in
llvm
/
llvm-project
/
clang
/
2b5defad0e3cadbcf8fe421135516f44d53c5dc9
/
.
/
test
/
Sema
/
invalid-init-diag.c
blob: dec7d6c18f8a955538a6016f48eaa8f382acdb56 [
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}}