summaryrefslogtreecommitdiffstats
path: root/tests/dimension/directives.pov
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dimension/directives.pov')
-rw-r--r--tests/dimension/directives.pov21
1 files changed, 13 insertions, 8 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov
index 94e613f..c6ac07b 100644
--- a/tests/dimension/directives.pov
+++ b/tests/dimension/directives.pov
@@ -30,13 +30,18 @@
Illegal
#end
-#if (#if (1 = 1) 0 #end = 0 & 0)
- `Illegal
-#else
- sphere {
- Center, R
- pigment {
- color Color green 1
+#declare Counter = 0;
+#while (Counter < 2)
+ #if (#if (1 = 1) 0 #end = 0 & 0)
+ `Illegal
+ #else
+ sphere {
+ Center + <0, Counter, 0>, R
+ pigment {
+ color Color green 1
+ }
}
- }
+ #end
+
+ #declare Counter = Counter + 1;
#end