Simplify tests now that GNU runtime supports exception handling.

llvm-svn: 72021
This commit is contained in:
Daniel Dunbar 2009-05-18 17:43:32 +00:00
parent 28c433dcda
commit 9b097a81fe
2 changed files with 0 additions and 7 deletions

View 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"

View File

@ -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__