Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
Eli Friedman | da15323 | 2009-02-20 01:34:21 +0000 | [diff] [blame] | 2 | |
3 | int a; | ||||
Douglas Gregor | 08a4190 | 2010-04-09 17:53:29 +0000 | [diff] [blame] | 4 | struct {int x;} x = a; // expected-error {{with an expression of incompatible type 'int'}} |