Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / parse / error20.C
blobee7390a633c7716c3d6d45a1b69331d03a136af3
1 // PR c++/17821
3 struct A {
4   A(int i) {}
5 };
6 struct B {
7   int i;
8 };
9 struct C {
10   B* p;
12 int main() {
13   C c;
14   A(c.p.i); // { dg-error "member.*non-class" }
15   return 0;