| 1 |
typedef __UINTPTR_TYPE__ uintptr_t; |
| 2 |
|
| 3 |
extern void srand (uintptr_t); |
| 4 |
|
| 5 |
inline void __attribute__ ((gnu_inline)) |
| 6 |
foo (uintptr_t seed) |
| 7 |
{ |
| 8 |
srand (seed * seed); |
| 9 |
} |
| 10 |
|
| 11 |
int |
| 12 |
main () |
| 13 |
{ |
| 14 |
foo (0); |
| 15 |
srand ((uintptr_t) (&foo)); |
| 16 |
return 0; |
| 17 |
} |