]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/tst-nodelete-uniquemod.cc
elf: Rework exception handling in the dynamic loader [BZ #25486]
[thirdparty/glibc.git] / elf / tst-nodelete-uniquemod.cc
CommitLineData
02d5e5d9
PK
1extern int not_exist (void);
2
3inline 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
11int foo (void)
12{
13 return make_unique () + not_exist ();
14}