summaryrefslogtreecommitdiffstats
path: root/tests/dimension/directives.pov
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-02 12:03:26 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-02 12:03:26 -0500
commit3da1fe6d2fb07f3f361482d8056e36636dcec3f5 (patch)
tree54ee1eaf680f7a97820f4a150f7d9679f3345d8b /tests/dimension/directives.pov
parentc1f6c955de83cf35fb34cc1fcf9a276bf6dbd7c8 (diff)
downloaddimension-3da1fe6d2fb07f3f361482d8056e36636dcec3f5.tar.xz
Implement #if.
Diffstat (limited to 'tests/dimension/directives.pov')
-rw-r--r--tests/dimension/directives.pov14
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov
index 95ad88a..1bb712d 100644
--- a/tests/dimension/directives.pov
+++ b/tests/dimension/directives.pov
@@ -26,9 +26,13 @@
#declare Unused = -1;
#undef Unused
-sphere {
- Center, R
- pigment {
- color Color green 1
+#if (#if (1 = 1) 0 #end = 0 & 0)
+ Illegal
+#else
+ sphere {
+ Center, R
+ pigment {
+ color Color green 1
+ }
}
-}
+#end