☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit68.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/explicit68.C
code
plain
raw
1
// { dg-do assemble }
2
3
template <bool B>
4
struct S
5
{
6
static void g();
7
};
8
9
template <bool B>
10
void g();
11
12
template<unsigned Length>
13
void f()
14
{
15
const bool b = true;
16
g<b>();
17
const bool b1 = (Length == 2);
18
S<b1>::g();
19
}
20
21
void h()
22
{
23
f<3>();
24
}