1 // RUN: %clang -fblocks %target_itanium_abi_host_triple -arch x86_64 %s -o %t.out -g -fsanitize=address
2 // RUN: %test_debuginfo %s %t.out
3 // FIXME: Remove system-darwin when we build BlocksRuntime everywhere.
4 // REQUIRES: !asan, compiler-rt, system-darwin
5 // Zorg configures the ASAN stage2 bots to not build the asan
6 // compiler-rt. Only run this test on non-asanified configurations.
7 // XFAIL: !system-darwin && gdb-clang-incompatibility
14 int f(struct S s
, unsigned i
) {
18 // CHECK: a = ([0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 5, [6] = 6, [7] = 7)
22 int main(int argc
, const char **argv
) {
23 struct S s
= {{0, 1, 2, 3, 4, 5, 6, 7}};
28 // CHECK: a = ([0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 5, [6] = 6, [7] = 7)