1
1
#include <stdalign.h> //COMPLIANT
2
- #include <stdatomic.h> //COMPLIANT
2
+ #include <stdatomic.h> //NON- COMPLIANT
3
3
#include <stdnoreturn.h> //COMPLIANT
4
- #include <threads.h> //COMPLIANT
4
+ #include <threads.h> //NON- COMPLIANT
5
5
6
- #define MACRO (x ) _Generic((x), int : 0, long : 1) // COMPLIANT
6
+ #define MACRO (x ) _Generic((x), int : 0, long : 1) // NON- COMPLIANT
7
7
#define __STDC_WANT_LIB_EXT1__ 1 // NON-COMPLIANT
8
8
9
9
_Noreturn void f0 (); // COMPLIANT
10
10
11
11
typedef int new_type ; // COMPLIANT
12
- typedef _Atomic new_type atomic_new_type ; // COMPLIANT
12
+ typedef _Atomic new_type atomic_new_type ; // NON- COMPLIANT
13
13
14
14
void f (int p ) {
15
15
int i0 = _Generic(p , int : 0 , long : 1 ); // COMPLIANT
16
16
17
- _Atomic int i ; // COMPLIANT
17
+ _Atomic int i ; // NON- COMPLIANT
18
18
19
19
_Alignas(4 ) int i1 ; // COMPLIANT
20
20
alignas(4 ) int i2 ; // COMPLIANT
21
21
int a = _Alignof(int ); // COMPLIANT
22
22
int a1 = alignof(int ); // COMPLIANT
23
23
24
- static thread_local int i3 ; // COMPLIANT
25
- static _Thread_local int i4 ; // COMPLIANT
24
+ static thread_local int i3 ; // NON- COMPLIANT
25
+ static _Thread_local int i4 ; // NON- COMPLIANT
26
26
}
0 commit comments