try to make things work on 64 bit systems
Annotate for file test/validate/tooLong.st
2011-04-06 ben.franksen 1 /*
18:59:29 ' 2 * Test proper rejection of variables whose type is too long
' 3 * to allow faithfull representation in CA, i.e. 64 bit types.
' 4 * On linux-x86_64 this should give error messages for the l and ul
' 5 * variables. On systems where sizeof(int)==8 (64 bit Windows?)
' 6 * even i and ui should be rejected.
' 7 */
' 8 program tooLong
' 9
' 10 int i;
' 11 assign i to "";
' 12
' 13 unsigned int ui;
' 14 assign ui to "";
' 15
' 16 long l;
' 17 assign l to "";
' 18
' 19 unsigned long ul;
' 20 assign ul to "";
' 21
' 22 ss tooLong {
' 23 state xy {
' 24 when () {
' 25 } state xy
' 26 }
' 27 }