From 292d4f9a1aaa37ad052ed50896c803fa3a98f77c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 3 Feb 2009 23:04:31 +0000 Subject: [PATCH] Force -triple/-fnext-runtime for a few more test cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63679 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/struct.c | 2 +- test/CodeGenObjC/bitfield-1.m | 2 +- test/CodeGenObjC/category-super-class-meth.m | 2 +- test/CodeGenObjC/message-arrays.m | 2 +- test/CodeGenObjC/property-incr-decr-1.m | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index c71796d9da..208cbd5ca9 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c @@ -1,4 +1,4 @@ -// RUN: clang %s -emit-llvm -o - +// RUN: clang -triple i386-unknown-unknown %s -emit-llvm -o - struct { int x; diff --git a/test/CodeGenObjC/bitfield-1.m b/test/CodeGenObjC/bitfield-1.m index 7d93293416..d4a63d3d0e 100644 --- a/test/CodeGenObjC/bitfield-1.m +++ b/test/CodeGenObjC/bitfield-1.m @@ -1,4 +1,4 @@ -// RUN: clang -emit-llvm -o %t %s +// RUN: clang -fnext-runtime -emit-llvm -o %t %s @interface Object - (id) alloc; diff --git a/test/CodeGenObjC/category-super-class-meth.m b/test/CodeGenObjC/category-super-class-meth.m index 4385b56774..82ced63318 100644 --- a/test/CodeGenObjC/category-super-class-meth.m +++ b/test/CodeGenObjC/category-super-class-meth.m @@ -1,4 +1,4 @@ -// RUN: clang -emit-llvm -o %t %s +// RUN: clang -fnext-runtime -emit-llvm -o %t %s @interface BASE + (int) BaseMeth; diff --git a/test/CodeGenObjC/message-arrays.m b/test/CodeGenObjC/message-arrays.m index 55b5d9b84e..aed841e06f 100644 --- a/test/CodeGenObjC/message-arrays.m +++ b/test/CodeGenObjC/message-arrays.m @@ -1,4 +1,4 @@ -// RUN: clang -emit-llvm -o %t %s +// RUN: clang -fnext-runtime -emit-llvm -o %t %s void f0(id a) { // This should have an implicit cast diff --git a/test/CodeGenObjC/property-incr-decr-1.m b/test/CodeGenObjC/property-incr-decr-1.m index 4ca84f1fb7..ef55342514 100644 --- a/test/CodeGenObjC/property-incr-decr-1.m +++ b/test/CodeGenObjC/property-incr-decr-1.m @@ -1,4 +1,4 @@ -// RUN: clang -emit-llvm -o %t %s +// RUN: clang -fnext-runtime -emit-llvm -o %t %s @interface Object - (id) new; -- 2.50.1