1 // RUN: %clang_cc1 -std=c11 -E %s | FileCheck %s
2 // RUN: %clang_cc1 -std=c11 -fms-compatibility -E %s | FileCheck %s
3 #include <stdatomic.h>
4 
5 int bool_lock_free = ATOMIC_BOOL_LOCK_FREE;
6 // CHECK: bool_lock_free = {{ *[012] *;}}
7 
8 int char_lock_free = ATOMIC_CHAR_LOCK_FREE;
9 // CHECK: char_lock_free = {{ *[012] *;}}
10 
11 int char16_t_lock_free = ATOMIC_CHAR16_T_LOCK_FREE;
12 // CHECK: char16_t_lock_free = {{ *[012] *;}}
13 
14 int char32_t_lock_free = ATOMIC_CHAR32_T_LOCK_FREE;
15 // CHECK: char32_t_lock_free = {{ *[012] *;}}
16 
17 int wchar_t_lock_free = ATOMIC_WCHAR_T_LOCK_FREE;
18 // CHECK: wchar_t_lock_free = {{ *[012] *;}}
19 
20 int short_lock_free = ATOMIC_SHORT_LOCK_FREE;
21 // CHECK: short_lock_free = {{ *[012] *;}}
22 
23 int int_lock_free = ATOMIC_INT_LOCK_FREE;
24 // CHECK: int_lock_free = {{ *[012] *;}}
25 
26 int long_lock_free = ATOMIC_LONG_LOCK_FREE;
27 // CHECK: long_lock_free = {{ *[012] *;}}
28 
29 int llong_lock_free = ATOMIC_LLONG_LOCK_FREE;
30 // CHECK: llong_lock_free = {{ *[012] *;}}
31 
32 int pointer_lock_free = ATOMIC_POINTER_LOCK_FREE;
33 // CHECK: pointer_lock_free = {{ *[012] *;}}
34