abouttreesummaryrefslogcommitdiff
path: root/test
diff options
context:
space:
mode:
authorPatrick Schönberger2021-08-11 18:02:56 +0200
committerPatrick Schönberger2021-08-11 18:02:56 +0200
commit17860defa84c6d8bc0e8bc088a7e09361f17db07 (patch)
tree87d602a2d4419307e73928bc1993a6295ba2cb39 /test
parent3715a3f575b615f66e8ea7e57f83849e8bae4deb (diff)
downloadtoc-17860defa84c6d8bc0e8bc088a7e09361f17db07.tar.gz
toc-17860defa84c6d8bc0e8bc088a7e09361f17db07.zip
structs and functions in ctx
Diffstat (limited to 'test')
-rw-r--r--test/test2.toc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test2.toc b/test/test2.toc
index 1447c8f..abd6bc7 100644
--- a/test/test2.toc
+++ b/test/test2.toc
@@ -13,6 +13,7 @@ namespace N1 {
m1(i: int) : int {
this->i3 = this->i1 * this->i2;
+ f1();
N1::f1();
return this->i1 + this->i2;
@@ -21,6 +22,7 @@ namespace N1 {
func f1() : void {
var s1 : N1::N2::S1;
+
s1.m1(123);
}
}