summaryrefslogtreecommitdiff
path: root/test/cfi/nvcall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cfi/nvcall.cpp')
-rw-r--r--test/cfi/nvcall.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/test/cfi/nvcall.cpp b/test/cfi/nvcall.cpp
index 04419bd9d..9d8f5f49f 100644
--- a/test/cfi/nvcall.cpp
+++ b/test/cfi/nvcall.cpp
@@ -40,20 +40,7 @@ void B::f() {}
void B::g() {}
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);