libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist113.C
blob0b7e7ff606a4c4e68c10543a7ac5fbf93493c7e5
1 // PR c++/89297
2 // { dg-do compile { target c++11 } }
4 int id(int v) { return v; }
5 float id(float v) { return v; }
7 template <typename>
8 int foo(int v)
10     return int{id(v)};