blob: efbf0ff527efe1b407992fa15970d6a52e3625d8 [file] [log] [blame]
// { dg-do assemble }
template <bool B>
struct S
{
static void g();
};
template <bool B>
void g();
template<unsigned Length>
void f()
{
const bool b = true;
g<b>();
const bool b1 = (Length == 2);
S<b1>::g();
}
void h()
{
f<3>();
}