summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg10.C
blob: f5b8abf6edd9b346d13280548119bccc4d7905dc (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// GROUPS passed error-messages
class foo {
public:
  virtual static int f () = 0;// { dg-error "" }  member `f' cannot be declared both virtual and static.*
};