From b10646d4ce23bbed949861b3fcb71f1ff1b91c76 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 9 Apr 2010 17:53:29 +0000 Subject: Improve diagnostics like "initializing from an expression of type..." with "initializing with an expression of type...", which reads better. Thanks to John for the improved wording. llvm-svn: 100873 --- clang/test/Sema/anonymous-struct-union.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Sema/anonymous-struct-union.c') diff --git a/clang/test/Sema/anonymous-struct-union.c b/clang/test/Sema/anonymous-struct-union.c index b91426ca6c1..d9e08397f2d 100644 --- a/clang/test/Sema/anonymous-struct-union.c +++ b/clang/test/Sema/anonymous-struct-union.c @@ -101,4 +101,4 @@ struct s2 { typedef struct { int x; } a_struct; -int tmp = (a_struct) { .x = 0 }; // expected-error {{initializing 'int' from an expression of incompatible type 'a_struct'}} +int tmp = (a_struct) { .x = 0 }; // expected-error {{initializing 'int' with an expression of incompatible type 'a_struct'}} -- cgit v1.2.3