mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
15 lines
260 B
C++
15 lines
260 B
C++
|
extern int not_exist (void);
|
||
|
|
||
|
inline int make_unique (void)
|
||
|
{
|
||
|
/* Static variables in inline functions and classes
|
||
|
generate STB_GNU_UNIQUE symbols. */
|
||
|
static int unique;
|
||
|
return ++unique;
|
||
|
}
|
||
|
|
||
|
int foo (void)
|
||
|
{
|
||
|
return make_unique () + not_exist ();
|
||
|
}
|