repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit68.C
blob
efbf0ff527efe1b407992fa15970d6a52e3625d8
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
}