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++.pt
/
typename15.C
blob
8f263f03903aac2effb031fc294dab8191cc92f8
1
// Build don't link:
2
// Special g++ 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>();