blob: 3e4870e0cab112f7cbf47ea8175265fb18075865 [file] [log] [blame]
Shih-wei Liaoea285162010-06-04 12:34:56 -07001// RUN: %clang_cc1 %s -verify -fsyntax-only
2
3int a;
4struct {int x;} x = a; // expected-error {{with an expression of incompatible type 'int'}}