Skip to content

Commit

Permalink
Attempt to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 committed Jan 3, 2025
1 parent e55363e commit bfbb328
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/arch-x86_64-function-multiversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ void hello() {
}
EOF

$CXX -B. -shared -o $t/b.so $t/a.o
$GXX -B. -shared -o $t/b.so $t/a.o

cat <<EOF | $CXX -o $t/c.o -c -xc++ - -fPIC
cat <<EOF | $GXX -o $t/c.o -c -xc++ - -fPIC
void hello();
int main() { hello(); }
EOF

$CXX -B. -o $t/exe $t/b.so $t/c.o
$GXX -B. -o $t/exe $t/b.so $t/c.o
$QEMU $t/exe | grep -q '^H'

0 comments on commit bfbb328

Please sign in to comment.