Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
new9.C
blob: 24e40ee23989b17533efcf7f92491861429cf214 [
file
] [
log
] [
blame
]
// PR c++/46277
class
ggRGBE
{
public
:
ggRGBE
();
};
template
<
class
T
>
class
ggIO
{
void
readbody
(
int
);
ggRGBE
*
scanline
;
};
template
<
class
T
>
void
ggIO
<
T
>::
readbody
(
int
width
)
{
scanline
=
new
ggRGBE
[
width
];
}