summaryrefslogtreecommitdiff
path: root/test/example/cpp-unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/cpp-unit.cpp')
-rw-r--r--test/example/cpp-unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/cpp-unit.cpp b/test/example/cpp-unit.cpp
index f51ca72b6..e6189d9d1 100644
--- a/test/example/cpp-unit.cpp
+++ b/test/example/cpp-unit.cpp
@@ -10,7 +10,7 @@ using namespace wasm;
int main()
{
// Some optimizations assume that the cost of a get is zero, e.g. local-cse.
- GetLocal get;
+ LocalGet get;
assert(CostAnalyzer(&get).cost == 0);
std::cout << "Success.\n";