Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Null.sl @ 17349:d45951ac3ce9
SL: use line separator of current platform
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 06 Oct 2014 05:02:53 -0700 |
parents | b16ec83edc73 |
children |
line wrap: on
line source
/* The easiest way to generate null: a function without a return statement implicitly returns null. */ function null() { } function main() { println(null()); println(null() == null()); println(null() != null()); println(null() == 42); println(null() != 42); println(null() == "42"); println(null() != "42"); }