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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
nontype1.C
blob
95c683f491b168542bc6325ba0f2c13a45379801
1
// { dg-do assemble }
2
3
template<int N_length>
4
struct B
5
{
6
B();
7
~B();
8
};
9
template<class P, int N>
10
struct D
11
{
12
D(int r0);
13
D(B<N-1> &, int);
14
};
15
template<class T>
16
void func()
17
{
18
D<T,1> tmp;
19
}