Skip to content

Commit

Permalink
Add test on code generation of modulo expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Lai-YT authored and leewei05 committed Sep 15, 2023
1 parent f96e0dc commit d486388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/codegen/bin_expr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
int main() {
return 5 * 4 - 3 / 2 + 1;
return 7 % 6 + 5 * 4 - 3 / 2 + 1;
}
2 changes: 1 addition & 1 deletion test/codegen/bin_expr.exp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
21

0 comments on commit d486388

Please sign in to comment.