Changes in src/tests/init_once.c [72e9222:6e4b913]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/init_once.c
r72e9222 r6e4b913 92 92 init_once y = x; 93 93 94 void static_variable() {95 static init_once x;96 }97 98 94 int main() { 99 95 // local variables … … 183 179 } 184 180 } 185 186 // function-scoped static variable187 for (int i = 0; i < 10; i++) {188 static_variable();189 }190 181 } 191 182
Note:
See TracChangeset
for help on using the changeset viewer.