diff options
Diffstat (limited to 'test/PCH/exprs.h')
-rw-r--r-- | test/PCH/exprs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/PCH/exprs.h b/test/PCH/exprs.h index 09a5013..d08b1f6 100644 --- a/test/PCH/exprs.h +++ b/test/PCH/exprs.h @@ -87,7 +87,7 @@ struct { int x; float y; } designated_inits[3] = { [0].y = 17, - [2].x = 12.3, // expected-warning {{implicit conversion turns literal floating-point number into integer}} + [2].x = 12.3, // expected-warning {{implicit conversion from 'double' to 'int' changes value from 12.3 to 12}} 3.5 }; // TypesCompatibleExpr |