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
Fix stdio-common tests for GCC 12 -Waddress
[glibc.git]
/
elf
/
tst-nodelete-uniquemod.cc
blob
632b303d582152426f3b55a32b66ea5f2f6295d9
1
extern
int
not_exist
(
void
);
2
3
inline
int
make_unique
(
void
)
4
{
5
/* Static variables in inline functions and classes
6
generate STB_GNU_UNIQUE symbols. */
7
static int
unique
;
8
return
++
unique
;
9
}
10
11
int
foo
(
void
)
12
{
13
return
make_unique
() +
not_exist
();
14
}