Skip to content

Commit 53bacd0

Browse files
thread_local
1 parent ad8f2e7 commit 53bacd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc/test/integration/src/threads/thrd_exit_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ class A {
2929
}
3030
};
3131

32+
#pragma GCC diagnostic push
33+
#pragma GCC diagnostic ignored "-Wglobal-constructors"
3234
thread_local A thread_local_a(123);
35+
#pragma GCC diagnostic pop
3336

3437
int func(void *) {
3538
thread_local_a.set(321);

0 commit comments

Comments
 (0)