blob: 1ade42f31c5bfcede6ba93839590129502b3b081 [file] [log] [blame]
Daniel Dunbar8fbe78f2009-12-15 20:14:24 +00001// RUN: %clang_cc1 %s -verify -fsyntax-only
Eli Friedmance982572009-02-20 01:34:21 +00002
3int a;
Douglas Gregorc68e1402010-04-09 00:35:39 +00004struct {int x;} x = a; // expected-error {{from an expression of incompatible type 'int'}}