From e4cf06dd4997874a29424de60f02ff7a7b532b79 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 18 May 2009 17:43:32 +0000 Subject: [PATCH] Simplify tests now that GNU runtime supports exception handling. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72021 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Coverage/codegen-gnu.m | 3 --- test/Coverage/objc-language-features.inc | 4 ---- 2 files changed, 7 deletions(-) diff --git a/test/Coverage/codegen-gnu.m b/test/Coverage/codegen-gnu.m index f042c442b1..bc8d6d642e 100644 --- a/test/Coverage/codegen-gnu.m +++ b/test/Coverage/codegen-gnu.m @@ -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" diff --git a/test/Coverage/objc-language-features.inc b/test/Coverage/objc-language-features.inc index a00d4bfb78..dd57dfbedd 100644 --- a/test/Coverage/objc-language-features.inc +++ b/test/Coverage/objc-language-features.inc @@ -53,12 +53,9 @@ @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__ -- 2.40.0