OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit68.C
1
// Build don't link:
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
}