diff options
Diffstat (limited to 'test/Sema/invalid-init-diag.c')
-rw-r--r-- | test/Sema/invalid-init-diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/invalid-init-diag.c b/test/Sema/invalid-init-diag.c index dec7d6c..3e4870e 100644 --- a/test/Sema/invalid-init-diag.c +++ b/test/Sema/invalid-init-diag.c @@ -1,4 +1,4 @@ // RUN: %clang_cc1 %s -verify -fsyntax-only int a; -struct {int x;} x = a; // expected-error {{incompatible type initializing 'int', expected 'struct <anonymous}} +struct {int x;} x = a; // expected-error {{with an expression of incompatible type 'int'}} |