2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / explicit68.C
blobefbf0ff527efe1b407992fa15970d6a52e3625d8
1 // { dg-do assemble  }
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>();