blob: 3e4870e0cab112f7cbf47ea8175265fb18075865 [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 Gregorb10646d2010-04-09 17:53:29 +00004struct {int x;} x = a; // expected-error {{with an expression of incompatible type 'int'}}