aboutsummaryrefslogtreecommitdiff
path: root/test/cfi/simple-fail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cfi/simple-fail.cpp')
-rw-r--r--test/cfi/simple-fail.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/test/cfi/simple-fail.cpp b/test/cfi/simple-fail.cpp
index c7bebb0deccc..92b1322718f8 100644
--- a/test/cfi/simple-fail.cpp
+++ b/test/cfi/simple-fail.cpp
@@ -74,20 +74,7 @@ struct B {
void B::f() {}
int main() {
-#ifdef B32
- break_optimization(new Deriver<B, 0>);
-#endif
-
-#ifdef B64
- break_optimization(new Deriver<B, 0>);
- break_optimization(new Deriver<B, 1>);
-#endif
-
-#ifdef BM
- break_optimization(new Deriver<B, 0>);
- break_optimization(new Deriver<B, 1>);
- break_optimization(new Deriver<B, 2>);
-#endif
+ create_derivers<B>();
A *a = new A;
break_optimization(a);