]> granicus.if.org Git - clang/commitdiff
Removed test that depended on ast-test
authorJohn Wiegley <johnw@boostpro.com>
Thu, 28 Apr 2011 01:09:13 +0000 (01:09 +0000)
committerJohn Wiegley <johnw@boostpro.com>
Thu, 28 Apr 2011 01:09:13 +0000 (01:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130367 91177308-0d34-0410-b5e6-96231b3b80d8

test/AST/__try.c [deleted file]

diff --git a/test/AST/__try.c b/test/AST/__try.c
deleted file mode 100644 (file)
index 6170adb..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// RUN: %ast_test -fborland-extensions %s
-
-#define JOIN2(x,y) x ## y
-#define JOIN(x,y) JOIN2(x,y)
-#define TEST2(name) JOIN(name,__LINE__)
-#define TEST TEST2(test)
-typedef int DWORD;
-
-DWORD FilterExpression();
-
-void TEST() {
-  __try // expected-stmt-class-name{{SEHTryStmt}}
-  { // expected-stmt-class-name{{CompoundStmt}}
-  }
-  __except ( FilterExpression() ) // expected-stmt-class-name{{SEHExceptStmt}} expected-stmt-class-name{{CallExpr}} \
-    // expected-expr-type{{DWORD}}
-  { // expected-stmt-class-name{{CompoundStmt}}
-  }
-}
-
-void TEST() {
-  __try // expected-stmt-class-name{{SEHTryStmt}}
-  { // expected-stmt-class-name{{CompoundStmt}}
-  }
-  __finally // expected-stmt-class-name{{SEHFinallyStmt}}
-  { // expected-stmt-class-name{{CompoundStmt}}
-  }
-}