]> Nishi Git Mirror - gwion.git/commitdiff
:art: more tests
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 5 Dec 2019 21:23:27 +0000 (22:23 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Thu, 5 Dec 2019 21:23:27 +0000 (22:23 +0100)
tests/error/implicit_inside.gw [new file with mode: 0644]

diff --git a/tests/error/implicit_inside.gw b/tests/error/implicit_inside.gw
new file mode 100644 (file)
index 0000000..f3ca145
--- /dev/null
@@ -0,0 +1,2 @@
+#! [contains] while defining
+class C{0=>int i;}operator@implicit int(C c){return c;i;}fun void test(int i){<<<i>>>;}C c;c=>test;