| Daniel Dunbar | 8fbe78f | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only |
| Eli Friedman | ce98257 | 2009-02-20 01:34:21 +0000 | [diff] [blame] | 2 | |
| 3 | int a; | ||||
| John McCall | ef01f71 | 2010-03-19 07:56:44 +0000 | [diff] [blame] | 4 | struct {int x;} x = a; // expected-error {{incompatible type initializing 'int', expected 'struct <anonymous}} |