blob: 0328502208708f4ca2f3e5102fcbf850e8135ae2 [file] [log] [blame]
// PR c++/87513
// { dg-do compile { target c++11 } }
struct A { template <long> void foo (); };
template <long t> auto bar () -> decltype (&A::foo<t>);
void foo ()
{
bar<0> ();
}