FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit68.C
blobbc47c6c8f114d598836893845e56b47973901758
1 // Build don't link:
3 template <bool B>
4 struct S
6   static void g();
7 };
9 template <bool B>
10 void g();
12 template<unsigned Length>
13 void f()
15   const bool b = true;
16   g<b>();
17   const bool b1 = (Length == 2);
18   S<b1>::g();
21 void h()
23   f<3>();