summaryrefslogtreecommitdiff
path: root/test/CodeGen/exceptions-seh.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/exceptions-seh.c')
-rw-r--r--test/CodeGen/exceptions-seh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/exceptions-seh.c b/test/CodeGen/exceptions-seh.c
index eadbe15cfff0..0a82e379b2cc 100644
--- a/test/CodeGen/exceptions-seh.c
+++ b/test/CodeGen/exceptions-seh.c
@@ -7,12 +7,13 @@ int SaveDiv(int numerator, int denominator, int *res) {
int myres = 0;
__try {
myres = numerator / denominator;
+ __leave;
} __except (1) {
return 0;
}
*res = myres;
return 1;
}
-// CHECK-NOT error
+// CHECK-NOT: error:
// CHECK: error: cannot compile this SEH __try yet
-// CHECK-NOT error
+// CHECK-NOT: error: