mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +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 ();
|
||
|
}
|