diff options
Diffstat (limited to 'test/CodeGenObjC/overloadable.m')
-rw-r--r-- | test/CodeGenObjC/overloadable.m | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGenObjC/overloadable.m b/test/CodeGenObjC/overloadable.m index 4fd1429f2827..0d55cd3f3a26 100644 --- a/test/CodeGenObjC/overloadable.m +++ b/test/CodeGenObjC/overloadable.m @@ -1,10 +1,12 @@ // rdar://6657613 -// RUN: %clang_cc1 -emit-llvm %s -o %t +// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s @class C; -// RUN: grep _Z1fP11objc_object %t | count 1 +// CHECK: _Z1fP11objc_object +// CHECK-NOT: _Z1fP11objc_object void __attribute__((overloadable)) f(id c) { } -// RUN: grep _Z1fP1C %t | count 1 +// CHECK: _Z1fP1C +// CHECK-NOT: _Z1fP1C void __attribute__((overloadable)) f(C *c) { } |