mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-15 04:20:28 +08: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 ();
|
||
|
}
|