summaryrefslogtreecommitdiffhomepage
path: root/tests/test-flowgraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-flowgraph.cpp')
-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 469d816..b0daeae 100644
--- a/tests/test-flowgraph.cpp
+++ b/tests/test-flowgraph.cpp
@@ -44,7 +44,7 @@ TEST_F(FlowGraphTest, build_graph) {
graph.push_back(createScope);
Data pointer{ MakeLocalPointer(createScope->scope(), "malloc1") };
- Data size{ MakeLocalSize(createScope->scope(), "size1") };
+ Data size{ MakeLocalInt(createScope->scope(), "size1") };
std::shared_ptr<Node> malloc1 {std::make_shared<AllocateDynamic>(pointer, size) };
graph.push_back(malloc1);