blob: 438183195b16d402d9f2b13b74c198f52d72084c (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <assert.h>
#include <stdint.h>
extern _Thread_local char foo_thread_local[];
extern _Thread_local char bar_thread_local[];
int main() {
assert(!((uintptr_t)foo_thread_local & (16 - 1)));
assert(!((uintptr_t)bar_thread_local & (8 - 1)));
}
|