19 lines
201 B
Plaintext
19 lines
201 B
Plaintext
|
#include "third_party/chibicc/test/test.h"
|
||
|
|
||
|
_Thread_local int x;
|
||
|
|
||
|
void add(void) {
|
||
|
x += 3;
|
||
|
}
|
||
|
|
||
|
_Noreturn int test(void) {
|
||
|
x = 7;
|
||
|
add();
|
||
|
ASSERT(10, x);
|
||
|
exit(0);
|
||
|
}
|
||
|
|
||
|
int main(void) {
|
||
|
test();
|
||
|
}
|