Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
extern_template-3.C
blob: 1b7ad0e01982d5b41877a2f3d6d4bc5588ca2c33 [
file
] [
log
] [
blame
]
// PR c++/37256
// { dg-options "-O" }
template
<
typename
T_
>
struct
B
{
T_ f
();
};
extern
template
class
B
<int>
;
void
f
()
{
B
<int>
t
;
t
.
f
();
}