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
doc: Remove index reference to removed documentation in fortran manual
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template35.C
blob
d2c1a3c57de339ea49350483035d091484435de3
1
// { dg-do assemble }
2
// Bug: instantiation of D() corrupts declaration of basis[].
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
};