Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t07.C
blob: 3cdb3dafdb293d208ffbf5d82ae9ad40018c9682 [
file
] [
log
] [
blame
]
// Build don't link:
template
<
class
A
>
class
B
{
A a
;
public
:
const
A
&
value
()
{
return
a
;
}
};
static
B
<int>
b_int
;
int
foo
()
{
return
b_int
.
value
();
}