Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memclass6.C
blob: 65de1d1bd995725f411f0a3e9d77a778e82fa12c [
file
] [
log
] [
blame
]
// Compiler: egcs-2.91.12 980302
// Error: compiler error in ctor of 'foo::bar<T>::bar(T const &)'
struct
foo
{
template
<
typename
T
>
struct
bar
{
bar
(
T
const
&
t
)
:
tt
(
t
)
{}
T tt
;
};
};
int
main
()
{
foo
::
bar
<int>
fb
(
3
);
return
0
;
}