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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash19.C
blob
a28827f31ac80ced0e4cffb3bdaef2c98719ee3f
1
// PR c++/15165
2
3
struct S
4
{
5
template <class T> S(const T &e);
6
};
7
int operator *(const double, const S &);
8
template <class T>
9
struct X {
10
enum { SIXTY_FOUR=64 };
11
struct node {
12
unsigned char *ptr[sizeof(T)*SIXTY_FOUR];
13
void d() {}
14
};
15
node *head;
16
};
17
template struct X<int>;