From: fennecdjay Date: Thu, 10 Oct 2019 18:39:13 +0000 (+0200) Subject: :art: More tests X-Git-Tag: nightly~2198^2 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9f715dcf261c5edc35092f33ad692c1367ab57ab;p=gwion.git :art: More tests --- diff --git a/tests/new/test2.gw b/tests/new/test2.gw new file mode 100644 index 00000000..da99f314 --- /dev/null +++ b/tests/new/test2.gw @@ -0,0 +1,8 @@ +class <~A~>C { + typedef static void func_t<~A~>(A a); + fun static void myfunc<~A~>(A a) { <<< a >>>; } + myfunc @=> static func_t ptr; + ptr(1); +} + +<~int~>C c; diff --git a/tests/tree/shred_lock.gw b/tests/tree/shred_lock.gw new file mode 100644 index 00000000..5c579516 --- /dev/null +++ b/tests/tree/shred_lock.gw @@ -0,0 +1,2 @@ +me.lock(); +me.unlock();