summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-22 17:11:11 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-22 17:11:11 +0100
commitad3fd947005400c90f41baa4416a27d94b1bc157 (patch)
tree4332b7ad2183f0e5b4e10719129573540519413a /tests
parentfd8517e10937a5b72ed839ce900306f281d74b7d (diff)
Clarify flowgraph types
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 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);