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
Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash19.C
blob
59b4140c578b20b6031d5753b9dccdeae353e0d9
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]; // { dg-error "" }
13
void d() {}
14
};
15
node *head;
16
};
17
template struct X<int>;