1 __thread int i_tls = 2; 2 int main () 3 { 4 int result; 5 result = foo (); /* Call to foo should return 2, not 1. */ 6 result ++; 7 return 0; /* break here to check result */ 8 } 9 10