lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 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 | } |