]> granicus.if.org Git - clang/commitdiff
Simplify tests now that GNU runtime supports exception handling.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 18 May 2009 17:43:32 +0000 (17:43 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 18 May 2009 17:43:32 +0000 (17:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72021 91177308-0d34-0410-b5e6-96231b3b80d8

test/Coverage/codegen-gnu.m
test/Coverage/objc-language-features.inc

index f042c442b15af8fde22ad18dfdfeda70d18649f1..bc8d6d642e41bf9b98cc9fa71fa91ece11de8164 100644 (file)
@@ -1,6 +1,3 @@
-// RUN: clang-cc -triple i386-unknown-unknown -DIRGENABLE_GNU -DIRGENABLE -fgnu-runtime -emit-llvm -o %t %s && 
-// RUN: clang-cc -triple i386-unknown-unknown -DIRGENABLE_GNU -DIRGENABLE -g -fgnu-runtime -emit-llvm -o %t %s &&
-
 // RUN: clang-cc -triple i386-unknown-unknown -fgnu-runtime -emit-llvm -o %t %s
 
 #include "objc-language-features.inc"
index a00d4bfb7844784c74682e6cdff360dc790b397f..dd57dfbedd03798bd22a457e973b0319b3f25b7f 100644 (file)
 @end
 
 int f0(id x) {
-#ifndef IRGENABLE_GNU
   @synchronized(x) {
   }
-#endif
 
-#ifndef IRGENABLE_GNU
   @try {
     @throw x;
 
@@ -75,7 +72,6 @@ int f0(id x) {
   for (id y in x) {
     break;
   }
-#endif
 }
 
 #ifndef __OBJC2__