OSDN Git Service

PR c++/28432
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / ptrmem5.C
1 // PR 14123
2
3 struct a
4 {
5   int x[8];
6 };
7
8 int main()
9 {
10   int a::*n[8];
11   n = &a::x;                    // { dg-error "int \\(a::\\*\\)" }
12 }