Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %s -verify -fsyntax-only |
Eli Friedman | da15323 | 2009-02-20 01:34:21 +0000 | [diff] [blame] | 2 | |
3 | int a; | ||||
4 | struct {int x;} x = a; // expected-error {{incompatible type initializing 'int', expected 'struct <anonymous>'}} |