summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/regress/ptrmem1.C
blob: 873000b9c383bf63deb456437e437265d029a16f (plain)
1
2
3
4
5
6
7
8
9
// PR c++/49298
// { dg-options -std=c++0x }

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