d: Fix gdc -O2 -mavx generates misaligned vmovdqa instruction [PR114171]
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / pmem4.C
blobb05c86d4fbbe93f55b7b6551b02ae00f1fb534d9
1 // { dg-do assemble  }
2 struct X {};
3 X& X::*PTM_1;           // { dg-error "" } pointer to reference member
4 void X::*PTM_2;         // { dg-error "" } pointer to void member
6 struct A {
7   static int& ir;
8 };
10 int i;
11 int& A::ir = i;                 // not an error