diff options
Diffstat (limited to 'clang/test/Sema/struct-compat.c')
-rw-r--r-- | clang/test/Sema/struct-compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/struct-compat.c b/clang/test/Sema/struct-compat.c index ce63956c955..65bef9f6055 100644 --- a/clang/test/Sema/struct-compat.c +++ b/clang/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 {{initializing 'struct x' from an expression of incompatible type 'struct x'}} +struct x {char x;} s = r; // expected-error {{initializing 'struct x' with an expression of incompatible type 'struct x'}} } |