summaryrefslogtreecommitdiffstats
path: root/tests/dimension/directives.pov
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-02 22:45:20 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-02 22:49:26 -0500
commit3f660a9b219b03bd5188cd4f0da9a58f507a933a (patch)
tree57162550b6c390cb0bf1ab143cee5bebda3a6ed8 /tests/dimension/directives.pov
parent80555a542f522d70fd0cb98227db005805f0c184 (diff)
downloaddimension-3f660a9b219b03bd5188cd4f0da9a58f507a933a.tar.xz
Support #ifdef and #ifndef.
Diffstat (limited to 'tests/dimension/directives.pov')
-rw-r--r--tests/dimension/directives.pov4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dimension/directives.pov b/tests/dimension/directives.pov
index 187189f..94e613f 100644
--- a/tests/dimension/directives.pov
+++ b/tests/dimension/directives.pov
@@ -26,6 +26,10 @@
#declare Unused = -1;
#undef Unused
+#ifdef (Unused)
+ Illegal
+#end
+
#if (#if (1 = 1) 0 #end = 0 & 0)
`Illegal
#else