]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: Test nonnull void
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 8 Oct 2019 11:29:55 +0000 (13:29 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 8 Oct 2019 11:29:55 +0000 (13:29 +0200)
tests/nonnull/void_nonnull.gw [new file with mode: 0644]

diff --git a/tests/nonnull/void_nonnull.gw b/tests/nonnull/void_nonnull.gw
new file mode 100644 (file)
index 0000000..4ad08a5
--- /dev/null
@@ -0,0 +1,2 @@
+#! [contains] void types can't be nonnull
+void! i;