summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-15 13:55:18 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-15 13:55:18 +0100
commitd07c5bc14edbe071ee7b4f47f174780e95e451aa (patch)
tree889ed88ea6907119b75b7b76f616a604c9857e3d /tests
parent9e7f4c9d43b310c280cd6432cd4150411f4b914e (diff)
Simplify Asm construction
Diffstat (limited to 'tests')
-rw-r--r--tests/test-flowgraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-flowgraph.cpp b/tests/test-flowgraph.cpp
index 021d6dd..469d816 100644
--- a/tests/test-flowgraph.cpp
+++ b/tests/test-flowgraph.cpp
@@ -51,7 +51,7 @@ TEST_F(FlowGraphTest, build_graph) {
std::shared_ptr<Node> free1{ std::make_shared<DeallocateDynamic>(pointer) };
graph.push_back(free1);
- std::shared_ptr<Node> destroyScope{std::make_shared<DestroyScopeOp>()};
+ std::shared_ptr<Node> destroyScope{std::make_shared<DestroyScopeOp>(createScope->scope())};
graph.push_back(destroyScope);
}