blob: 0328502208708f4ca2f3e5102fcbf850e8135ae2 (
plain)
1
2
3
4
5
6
7
8
9
|
// 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> ();
}
|