diff options
Diffstat (limited to 'test/Sema/struct-compat.c')
-rw-r--r-- | test/Sema/struct-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/struct-compat.c b/test/Sema/struct-compat.c index 2e112e1..65bef9f 100644 --- a/test/Sema/struct-compat.c +++ b/test/Sema/struct-compat.c @@ -13,5 +13,5 @@ struct x {int a;} *c = b; // expected-warning {{incompatible pointer types}} struct x {int a;} r; int b() { -struct x {char x;} s = r; // expected-error {{incompatible type initializing}} +struct x {char x;} s = r; // expected-error {{initializing 'struct x' with an expression of incompatible type 'struct x'}} } |