Skip to content

Commit

Permalink
tests: Fix redundant constants test case to work on x86_64
Browse files Browse the repository at this point in the history
There currently seems to be a problem with number literals on x86_64,
&hFFFFFFFFFFFFFFFF is a LongInt instead of an Integer, that caused the
I3 constant declarations in this test case to have different dtype.
  • Loading branch information
dkl committed Jul 12, 2015
1 parent 49ef9fc commit acf08f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/const/redundant-constants.bas
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const I2 = 123
const I2 = 123

#ifdef __FB_64BIT__
const I3 = &hFFFFFFFFFFFFFFFF
const I3 = -1
const I3 as integer = &hFFFFFFFFFFFFFFFF
const I3 as integer = -1
#else
const I3 = &hFFFFFFFF
const I3 = -1
const I3 as integer = &hFFFFFFFF
const I3 as integer = -1
#endif

const I4 = &h8000000000000000ull
Expand Down

0 comments on commit acf08f6

Please sign in to comment.