Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Aug 24, 2024
1 parent 2d39056 commit ed4cae9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/arch-riscv64-relax-hi20.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ $QEMU $t/exe1 | grep -q 'f00 10000f00 ba 11beef'

$CC -B. -o $t/exe2 $t/a.o $t/b.o $t/c.o
$QEMU $t/exe2 | grep -q 'f00 10000f00 ba 11beef'

[ $(stat --format='%s' $t/exe1) -gt $(stat --format='%s' $t/exe2) ]

0 comments on commit ed4cae9

Please sign in to comment.