]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: Test new abstract
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 8 Oct 2019 13:58:50 +0000 (15:58 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 8 Oct 2019 13:58:50 +0000 (15:58 +0200)
tests/error/new_abstract.gw [new file with mode: 0644]

diff --git a/tests/error/new_abstract.gw b/tests/error/new_abstract.gw
new file mode 100644 (file)
index 0000000..fe6098f
--- /dev/null
@@ -0,0 +1,2 @@
+#! [contains] can't use 'new' on abstract type
+new Shred;