You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
// Make sure we don't enter an infinite loop (rdar://21942503)
int vals1[] = {
[__objc_yes] = 1,
[__objc_no] = 2
};
// CHECK: @vals1 = global [2 x i32] [i32 2, i32 1]
int vals2[] = {
[true] = 3,
[false] = 4
};
// CHECK: @vals2 = global [2 x i32] [i32 4, i32 3]
int vals3[] = {
[false] = 1,
[true] = 2,
5
};
// CHECK: @vals3 = global [3 x i32] [i32 1, i32 2, i32 5]
int vals4[2] = {
[true] = 5,
[false] = 6
};
// CHECK: @vals4 = global [2 x i32] [i32 6, i32 5]
int vals5[3] = {
[false] = 1,
[true] = 2,
6
};
// CHECK: @vals5 = global [3 x i32] [i32 1, i32 2, i32 6]
enum SomeEnum : unsigned char {
blah = 255
};
char vals6[] = {
[blah] = 'a'
};
// CHECK: @vals6 = global [256 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00a"