PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist17.C
blob6ff468989e0b84dca5c24eb8cf9ffab1f6f0df04
1 // { dg-do compile { target c++11 } }
3 void f(int i);
5 int main()
7   f({42.0});                    // { dg-error "narrowing" }
8   return {1.0};                 // { dg-error "narrowing" }