Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Fixes #1400
  • Loading branch information
rui314 committed Jan 16, 2025
1 parent 3b1e2a9 commit 8929bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/arch-riscv64-relax-j.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ EOF
cat <<EOF | $CC -o $t/b.o -c -xc - -O2 -march=rv64g
void g();
void f() { g(); }
int main() { f(0); }
int main() { f(); }
EOF

$CC -B. -march=rv64g -o $t/exe1 $t/a.o $t/b.o
Expand All @@ -23,7 +23,7 @@ EOF
cat <<EOF | $CC -o $t/d.o -c -xc - -O2 -march=rv64gc
void g();
void f() { g(); }
int main() { f(0); }
int main() { f(); }
EOF

$CC -B. -march=rv64g -o $t/exe2 $t/c.o $t/d.o
Expand Down

0 comments on commit 8929bd4

Please sign in to comment.