summaryrefslogtreecommitdiff
path: root/graphics/asymptote/tests/template/initTest.asy
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/tests/template/initTest.asy')
-rw-r--r--graphics/asymptote/tests/template/initTest.asy6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/asymptote/tests/template/initTest.asy b/graphics/asymptote/tests/template/initTest.asy
index 7def279138..c5d0ba2d3a 100644
--- a/graphics/asymptote/tests/template/initTest.asy
+++ b/graphics/asymptote/tests/template/initTest.asy
@@ -11,13 +11,11 @@ EndTest();
StartTest("new");
struct X {
- struct A {
+ static struct A {
int x=1;
}
}
-X x;
-
-access "template/imports/C"(T=x.A) as p;
+access "template/imports/C"(T=X.A) as p;
EndTest();