OSDN Git Service

PR c++/9335
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / static2.C
1 class A;
2
3 template<int A::* P>
4 class B
5 {
6 public:
7   static int A::* const p = P; // { dg-error "" }
8 };
9
10 class A
11 {
12 public:
13
14 int dummy;
15
16 B<&A::dummy> d;
17 };