[cfe-commits] r130367 - /cfe/trunk/test/AST/__try.c
John Wiegley
johnw at boostpro.com
Wed Apr 27 18:09:13 PDT 2011
Author: johnw
Date: Wed Apr 27 20:09:13 2011
New Revision: 130367
URL: http://llvm.org/viewvc/llvm-project?rev=130367&view=rev
Log:
Removed test that depended on ast-test
Removed:
cfe/trunk/test/AST/__try.c
Removed: cfe/trunk/test/AST/__try.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/__try.c?rev=130366&view=auto
==============================================================================
--- cfe/trunk/test/AST/__try.c (original)
+++ cfe/trunk/test/AST/__try.c (removed)
@@ -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}}
- }
-}
More information about the cfe-commits
mailing list