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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb110.C
blob
54a1c8bbb861e53053136bf129d5d136ec358b5a
1
// Build don't link:
2
class X
3
{
4
public:
5
virtual void f() const = 0;
6
};
7
8
template <class T>
9
class Y: public X
10
{
11
public:
12
virtual void f() const;
13
};
14
15
template <class T>
16
void Y<T>::f() const
17
{
18
}
19
20
template <>
21
void Y<bool>::f() const;
22
23
template <>
24
void Y<bool>::f() const
25
{
26
}