Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Null.sl @ 16007:23ae0cbcb2ae
OptionProcessor needs to find the type parameter of an OptionValue field declaration
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Jun 2014 17:11:40 +0200 |
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"); }