diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-05-25 00:01:29 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-05-25 00:01:29 +0000 |
commit | 400071f14b469889399c792d701dc122d1f3d5cc (patch) | |
tree | f60085e98561db490cfeddf9e5b2beb0ba46def5 /gas/expr.c | |
parent | b58c9faf2fef1746403a4e4734654dd8a57fad82 (diff) | |
download | gdb-400071f14b469889399c792d701dc122d1f3d5cc.zip gdb-400071f14b469889399c792d701dc122d1f3d5cc.tar.gz gdb-400071f14b469889399c792d701dc122d1f3d5cc.tar.bz2 |
Don't assume that short is shorter than int.
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
assume that shorts are smaller than ints. On a 16-bit machine,
this isn't true.
("print unsigned char == (~0)"): Add test that verifies that ~0,
an int, is not equal to ~0 stored in an unsigned char. This tests
the same thing that the previous test meant to, but works on
16-bit machines, too.
("print unsigned char != (~0)"): Same test, complemented.
Diffstat (limited to 'gas/expr.c')
0 files changed, 0 insertions, 0 deletions