Commit | Line | Data |
---|---|---|
37bc665e | 1 | int foo (void); |
8bc2021f EZ |
2 | __thread int i_tls = 2; |
3 | int main () | |
4 | { | |
5 | int result; | |
6 | result = foo (); /* Call to foo should return 2, not 1. */ | |
7 | result ++; | |
8 | return 0; /* break here to check result */ | |
9 | } | |
10 |