diff options
Diffstat (limited to 'test/CodeGen/blockstret.c')
-rw-r--r-- | test/CodeGen/blockstret.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGen/blockstret.c b/test/CodeGen/blockstret.c index d5dae6f3a6..edd1218b13 100644 --- a/test/CodeGen/blockstret.c +++ b/test/CodeGen/blockstret.c @@ -1,13 +1,20 @@ // RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck %s -check-prefix=X64 // RUN: %clang_cc1 -fblocks -triple i686-apple-darwin9 %s -emit-llvm -o - | FileCheck %s -check-prefix=X32 +// RUN: %clang_cc1 -fblocks -triple arm64-apple-darwin %s -emit-llvm -o - | FileCheck %s -check-prefix=ARM64 // X64: internal constant {{.*}} { i8** @_NSConcreteGlobalBlock, i32 1879048192 -// X64: store i32 1610612736, i32* %want +// X64: store i32 1610612736, i32* %want // X32: @_NSConcreteGlobalBlock, i32 1879048192, i32 0, // X32: store i32 1610612736, i32* %want // rdar://7677537 + +// ARM64: @_NSConcreteGlobalBlock, i32 1342177280, i32 0, +// ARM64: store i32 1610612736, i32* %want + +// rdar://9757126 + int printf(const char *, ...); void *malloc(__SIZE_TYPE__ size); |