blob: 269e338a36cca11411e6e25427eaed29f09ba82d [file] [log] [blame]
// PR c++/28557
struct A
{
template<typename T> operator T() { return T(); }
};
template<int> void foo()
{
A().operator int();
}
void bar()
{
foo<0>();
}