]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: test class templating
authorfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 9 Oct 2019 18:32:22 +0000 (20:32 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 9 Oct 2019 18:32:22 +0000 (20:32 +0200)
tests/new/template_class_in_template.gw [new file with mode: 0644]

diff --git a/tests/new/template_class_in_template.gw b/tests/new/template_class_in_template.gw
new file mode 100644 (file)
index 0000000..0b2cade
--- /dev/null
@@ -0,0 +1,8 @@
+class <~A~>Parent {
+  class <~B~>C {
+    12 => A a;
+    13 => B B;
+  }
+}
+<~int, int~>Parent->C c;
+<<< c.a >>>;