summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/ptrmem5.C
blob: 1101ad9fd9028377a3392ef4184ad3c760b3e5e8 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/27806

struct A {};

void foo()
{
  p;  // { dg-error "p" }
  extern int A::* p;
}