blob: 6ff468989e0b84dca5c24eb8cf9ffab1f6f0df04 [file] [log] [blame]
// { dg-do compile { target c++11 } }
void f(int i);
int main()
{
f({42.0}); // { dg-error "narrowing" }
return {1.0}; // { dg-error "narrowing" }
}