repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
spec2.C
blob
68c680e5372e4588598a3b4d17cce440bf39130c
1
// { dg-do assemble }
2
3
class X
4
{
5
public:
6
virtual void f() const = 0;
7
};
8
9
template <class T>
10
class Y: public X
11
{
12
public:
13
virtual void f() const;
14
};
15
16
template <class T>
17
void Y<T>::f() const
18
{
19
}
20
21
template <>
22
void Y<bool>::f() const;
23
24
template <>
25
void Y<bool>::f() const
26
{
27
}