Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/initlist113.C

raw
1 // PR c++/89297
2 // { dg-do compile { target c++11 } }
3
4 int id(int v) { return v; }
5 float id(float v) { return v; }
6
7 template <typename>
8 int foo(int v)
9 {
10 return int{id(v)};
11 }