FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename15.C
blob8f263f03903aac2effb031fc294dab8191cc92f8
1 // Build don't link:
2 // Special g++ Options:
4 template <class T, bool B> 
5 struct R {
6   struct X {};
7 };
9 template <class T, bool B = false>
10 struct S : public R <T, B> {
13 template <class T> void f() 
15   typename S<T>::X();
18 template void f<int>();