rt_gccstream/gcc/testsuite/g++.dg/other/ptrmem5.C

13 lines
141 B
C

// PR 14123
struct a
{
int x[8];
};
int main()
{
int a::*n[8];
n = &a::x; // { dg-error "int \\(a::\\*\\)" }
}