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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
new9.C
blob
24e40ee23989b17533efcf7f92491861429cf214
1
// PR c++/46277
2
3
class ggRGBE {
4
public:
5
ggRGBE();
6
};
7
template <class T> class ggIO
8
{
9
void readbody(int);
10
ggRGBE *scanline;
11
};
12
template <class T> void
13
ggIO<T>::readbody(int width)
14
{
15
scanline = new ggRGBE[width];
16
}