summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.oliva/template9.C
blob: 02be37a5f9977b10d8ca4831fbcc3c5882656bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }

// Copyright (C) 1999 Free Software Foundation

// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
// based on bug report by Philippe Bouchard <boucp00@DMI.USherb.CA>

struct foo {
  template <class>
  void bar() = 0; // { dg-error "virtual" }
};