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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template35.C
blob
be3f808252c3e03cf0534dbde3311736fbafff54
1
// Bug: instantiation of D() corrupts declaration of basis[].
2
// Build don't link:
3
4
struct B { };
5
template <int t>
6
struct D : public B
7
{
8
D() : B () { }
9
};
10
11
B const * basis[] =
12
{
13
new D<0>,
14
new D<1>,
15
};