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
Merged r158907 through r159238 into branch.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
inline2.C
blob
0f5f78af11c8bc9e8b5557c73e493819e2d79ada
1
// PR c++/21627
2
3
template<typename T>
4
struct TPL
5
{
6
TPL (){}
7
~TPL (){}
8
void method () {}
9
};
10
11
template <> TPL<int>::TPL ();
12
template <> TPL<int>::~TPL ();
13
template <> void TPL<int>::method ();
14
15
void Foo ()
16
{
17
TPL<int> i;
18
i.method ();
19
}
20