aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg10.C
blob: 24ddcaa16616e0ea4ba9bc4e42a43682af68e176 (plain)
1
2
3
4
5
6
// Build don't link: 
// GROUPS passed error-messages
class foo {
public:
  virtual static int f () = 0;// ERROR -  member `f' cannot be declared both virtual and static.*
};