unit_tests/preprocessor/output/elif-after-macro-with-args
author Ethan Lee <flibitijibibo@flibitijibibo.com>
Wed, 26 Aug 2020 14:37:18 -0400
changeset 1301 79bbc92200dc
parent 942 61b18d72632c
permissions -rw-r--r--
Write locations for SPIR-V pixel shader outputs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
942
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
#define D0(x) 0
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#if DA == D0(5)
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
RIGHT
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
#elif D5 >= D4
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
WRONG
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
#else
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
ALSOWRONG
61b18d72632c Unit tests for previous fix.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
#endif