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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
extern_template-3.C
blob
1b7ad0e01982d5b41877a2f3d6d4bc5588ca2c33
1
// PR c++/37256
2
// { dg-options "-O" }
3
4
template <typename T_>
5
struct B
6
{
7
T_ f();
8
};
9
10
extern template class B<int>;
11
12
void f()
13
{
14
B<int> t;
15
t.f();
16
}