1 2 3 4 5 6 7
// PR c++/45378 // { dg-do compile { target c++11 } } int main() { int x { 22.2 }; // { dg-error "narrowing" } }