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
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
parse5.C
blob
666acf252e8900a681d3ce3d7cac9e461a702711
1
// { dg-do assemble }
2
3
4
class ptr8
5
{
6
public:
7
ptr8(unsigned char *string,int len);
8
};
9
10
template <unsigned int S>
11
class buf
12
{
13
public:
14
buf(const ptr8& aRef);
15
};
16
17
int main()
18
{
19
unsigned char b[3];
20
buf<3> b2(ptr8(&b[0],3));
21
}