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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
repo4.C
blob
26a744206cd6a69b83455844aee1430020d85c3d
1
// { dg-do link }
2
// { dg-options "-frepo" }
3
// Build then link:
4
5
template <class T>
6
struct S {
7
~S ();
8
};
9
10
template <class T>
11
S<T>::~S () {}
12
13
int main ()
14
{
15
S<int> s;
16
}