| 1 |
// { dg-do assemble } |
| 2 |
|
| 3 |
// Copyright (C) 1999 Free Software Foundation |
| 4 |
|
| 5 |
// by Alexandre Oliva <[email protected]> |
| 6 |
// based on bug report by Philippe Bouchard <[email protected]> |
| 7 |
|
| 8 |
struct foo { |
| 9 |
template <class> |
| 10 |
void bar() = 0; // { dg-error "virtual" } |
| 11 |
}; |