
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
23 lines
633 B
Objective-C
23 lines
633 B
Objective-C
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin9 %s -emit-llvm -o - | FileCheck %s -check-prefix=X86
|
|
// RUN: %clang_cc1 -fblocks -triple arm-apple-darwin %s -emit-llvm -o - | FileCheck %s -check-prefix=ARM
|
|
// RUN: %clang_cc1 -fblocks -triple arm64-apple-darwin %s -emit-llvm -o - | FileCheck %s -check-prefix=ARM64
|
|
|
|
// <rdar://problem/9757015>: Don't use 'stret' variants on ARM64.
|
|
|
|
// X86: @main
|
|
// X86: @objc_msgSend_stret
|
|
|
|
// ARM: @main
|
|
// ARM: @objc_msgSend_stret
|
|
|
|
// ARM64: @main
|
|
// ARM64-NOT: @objc_msgSend_stret
|
|
|
|
struct st { int i[1000]; };
|
|
@interface Test
|
|
+(struct st)method;
|
|
@end
|
|
int main() {
|
|
[Test method];
|
|
}
|