Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / expr / ptrmem4.C
blob0803c9e632b1a2dd24cf07a3066d5bbb9326efdc
1 // PR c++/15471
2 // { dg-do run }
4 struct myclass { 
5   unsigned a; 
6   union { 
7     unsigned x; 
8   }; 
9 }; 
11 int main () {
12   myclass foo;
13   unsigned myclass::* member = &myclass::x; 
14   if (&(foo.*member) != &foo.x)
15     return 1;