repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Define GEN_AS_CONST_HEADERS when generating header files [BZ #22792]
[glibc.git]
/
elf
/
tst-unique3lib.cc
blob
fa8e85a36c993b242dd6a07fe2026a8d0717d407
1
#include <cstdio>
2
#include
"tst-unique3.h"
3
template
<
typename T
>
int
S
<
T
>::
i
=
1
;
4
static int
i
=
S
<
char
>::
i
;
5
6
int
7
in_lib
(
void
)
8
{
9
std
::
printf
(
"in_lib: %d %d
\n
"
,
S
<
char
>::
i
,
i
);
10
return
S
<
char
>::
i
++ !=
2
||
i
!=
1
;
11
}