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
/
typename15.C
blob
aee28ce7b5ffdd4210d41e6f558d9181c374c730
1
// { dg-do assemble }
2
// { dg-options "" }
3
4
template <class T, bool B>
5
struct R {
6
struct X {};
7
};
8
9
template <class T, bool B = false>
10
struct S : public R <T, B> {
11
};
12
13
template <class T> void f()
14
{
15
typename S<T>::X();
16
}
17
18
template void f<int>();