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; | ||||
Douglas Gregor | b10646d | 2010-04-09 17:53:29 +0000 | [diff] [blame] | 4 | struct {int x;} x = a; // expected-error {{with an expression of incompatible type 'int'}} |