diff options
Diffstat (limited to 'clang/test/PCH/exprs.h')
| -rw-r--r-- | clang/test/PCH/exprs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/PCH/exprs.h b/clang/test/PCH/exprs.h index 09a50135e40..d08b1f64ede 100644 --- a/clang/test/PCH/exprs.h +++ b/clang/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 |

