tests: add class with {do-,}while keyword
authorBernhard Urban <lewurm@gmail.com>
Mon, 2 Apr 2012 00:00:49 +0000 (02:00 +0200)
committerBernhard Urban <lewurm@gmail.com>
Mon, 2 Apr 2012 00:00:49 +0000 (02:00 +0200)
commit67bfe02e16caf0676c8eb2d43c27c671bd24ace8
tree5148b19436999f86e72f8c32c26057cf9bb28314
parente69630dc07fc838e19d697516168d8f4e6c25b5c
tests: add class with {do-,}while keyword

... which unfortunately fails to parse due to a bug in hs-java.

the bogus instructions are goto and if<cond>, which hs-java
misses to parse their immediate values from the instructionstream.

fix:
$ git clone git@wien.tomnetworks.com:hs-java.git || git clone git://wien.tomnetworks.com/hs-java.git
$ cd hs-java; cabal configure; cabal build; cabal install
src/BasicBlocks.hs
tests/While.java [new file with mode: 0644]