blob: c64fb3d2fa0c2b63598d3e4caec781ec5fef86c7 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template <int I> void f();
struct A { constexpr operator int() { return 24; } };
template <class T> constexpr void g(T t)
{
f<t>();
}
int main()
{
g(A());
}