diff options
Diffstat (limited to 'test/example/cpp-unit.cpp')
-rw-r--r-- | test/example/cpp-unit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/example/cpp-unit.cpp b/test/example/cpp-unit.cpp index 2c9b43de2..9c95bb31c 100644 --- a/test/example/cpp-unit.cpp +++ b/test/example/cpp-unit.cpp @@ -598,13 +598,13 @@ void test_cost() { void test_effects() { PassOptions options; - FeatureSet features; + Module module; // Unreachables trap. Unreachable unreachable; - assert_equal(EffectAnalyzer(options, features, &unreachable).trap, true); + assert_equal(EffectAnalyzer(options, module, &unreachable).trap, true); // Nops... do not. Nop nop; - assert_equal(EffectAnalyzer(options, features, &nop).trap, false); + assert_equal(EffectAnalyzer(options, module, &nop).trap, false); } void test_literals() { |