summaryrefslogtreecommitdiff
path: root/graphics/asymptote/tests/template/imports/C.asy
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/tests/template/imports/C.asy')
-rw-r--r--graphics/asymptote/tests/template/imports/C.asy6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/asymptote/tests/template/imports/C.asy b/graphics/asymptote/tests/template/imports/C.asy
new file mode 100644
index 0000000000..38e8939bad
--- /dev/null
+++ b/graphics/asymptote/tests/template/imports/C.asy
@@ -0,0 +1,6 @@
+typedef import(T);
+
+T a=new T;
+assert(a.x == 1);
+
+int global = 17;