Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
make push
Browse files Browse the repository at this point in the history
  • Loading branch information
gek committed Nov 16, 2023
1 parent 82e9f62 commit d8b644e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions featuretest.cbas
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,16 @@ fn codegen testmath:
end
end

//test non-conversions...
if(1)
u32 a = 1<<31;
u64 b = a;
if(b != (1<<31) || b == 0 || b & (1<<30) || b != a)
__builtin_puts("Failed sign (non) extension test 3");
have_failed = 1;
end
end

end

fn codegen test_loops:
Expand Down

0 comments on commit d8b644e

Please sign in to comment.