aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p10511.C
blob: b92b4f7d7fd02ddbda43091f200737876e5998a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link:
// prms-id: 10511

class S {
public:
  enum E {a, b, c};
};

class C {
public:
  bool f (S::E()) { }
  virtual void foo();
};

void C::foo() { }