repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit1.C
blob
64f581e58dfc5d8d7604db2bd3a28bbc52834833
1
// { dg-do link }
2
// { dg-options "-fno-implicit-templates" }
3
4
template <class T> struct C {
5
~C();
6
};
7
template <class T> C<T>::~C() {}
8
9
struct X {
10
C<X> *p;
11
~X() { delete p; }
12
};
13
14
template class C<X>;
15
C<X> x;
16
17
int main () {}