aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ptrmem25.C
blob: 381d055bfa7e70ae0c744ef5d874a3a3b8fcd450 (plain)
1
2
3
4
5
6
7
8
// PR c++/49298

template <class T, int T::*> struct B { };
template <class T> struct A
{
  int i;
  B<A,&A::i> b;
};