diff options
Diffstat (limited to 'test/example/find_div0s.cpp')
-rw-r--r-- | test/example/find_div0s.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/example/find_div0s.cpp b/test/example/find_div0s.cpp index e74d4781f..dc2872edc 100644 --- a/test/example/find_div0s.cpp +++ b/test/example/find_div0s.cpp @@ -46,8 +46,7 @@ int main() { // Check if the right operand is a constant, and if it is 0 auto right = curr->right->dyn_cast<Const>(); if (right && right->value.getInteger() == 0) { - std::cout << "We found that "; - printWasm(curr->left, std::cout) << " is divided by zero\n"; + std::cout << "We found that " << curr->left << " is divided by zero\n"; } } } |