summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/scoping14.C
blob: f53f72a60c3000357ac7c9a36c03d87b4689b825 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// [class.scope0]: The scope of a name declared in a class consists
// ... also of all ... default arguments ... in that class ....

struct A {
  void f (int A::* = &A::i);	
  int i;
};