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
diff --git a/test/Coverage/codegen-gnu.m b/test/Coverage/codegen-gnu.m
index f042c44..bc8d6d6 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 a00d4bf..dd57dfb 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 @@
for (id y in x) {
break;
}
-#endif
}
#ifndef __OBJC2__