More test cases that should pass:
----
enum a = [1, 2, 3];
static assert (a !is null);
string foo()
{
return null;
}
static assert (foo() is null);
static assert (!foo().length);
static assert (null is null);
----
Neither of the assert expressions can be evaluated at compile time.
Comment #1 by k.hara.pg — 2012-05-30T17:33:56Z
Marked as CTFE issue.
Comment #2 by github-bugzilla — 2013-07-12T14:07:00Z