summary refs log tree commit diff stats
path: root/tests/template/tcan_access_hidden_field.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/tcan_access_hidden_field.nim')
-rw-r--r--tests/template/tcan_access_hidden_field.nim9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/template/tcan_access_hidden_field.nim b/tests/template/tcan_access_hidden_field.nim
new file mode 100644
index 000000000..a6f6490cc
--- /dev/null
+++ b/tests/template/tcan_access_hidden_field.nim
@@ -0,0 +1,9 @@
+discard """
+  output: 33
+"""
+
+import mcan_access_hidden_field
+
+var myfoo = createFoo(33, 44)
+
+echo myfoo.geta