Mercurial > hg > truffle
annotate graal/com.oracle.truffle.sl.test/tests/Div.sl @ 17411:6d82c240d83e
use -G:CompileTheWorldClasspath instead of -Xbootclasspath/p when doing Graal CTW on a Graal enabled VM
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 10 Oct 2014 11:33:48 +0200 |
parents | b16ec83edc73 |
children |
rev | line source |
---|---|
13762
e34d5cca7496
Use source and expected output files to test Simple Language, instead of individual JUnit tests with the source and expected output as strings
Christian Wimmer <christian.wimmer@oracle.com>
parents:
diff
changeset
|
1 function main() { |
13821
b16ec83edc73
Documentation and more refactoring of Simple Language
Christian Wimmer <christian.wimmer@oracle.com>
parents:
13762
diff
changeset
|
2 println(4 / 2); |
b16ec83edc73
Documentation and more refactoring of Simple Language
Christian Wimmer <christian.wimmer@oracle.com>
parents:
13762
diff
changeset
|
3 println(4 / 4000000000000); |
b16ec83edc73
Documentation and more refactoring of Simple Language
Christian Wimmer <christian.wimmer@oracle.com>
parents:
13762
diff
changeset
|
4 println(3000000000000 / 3); |
b16ec83edc73
Documentation and more refactoring of Simple Language
Christian Wimmer <christian.wimmer@oracle.com>
parents:
13762
diff
changeset
|
5 println(3000000000000 / 3000000000000); |
13762
e34d5cca7496
Use source and expected output files to test Simple Language, instead of individual JUnit tests with the source and expected output as strings
Christian Wimmer <christian.wimmer@oracle.com>
parents:
diff
changeset
|
6 } |