unit_tests/preprocessor/output/macro-paren-stacking
author Ethan Lee <flibitijibibo@flibitijibibo.com>
Wed, 26 Aug 2020 14:37:18 -0400
changeset 1301 79bbc92200dc
parent 739 dba3c975f467
permissions -rw-r--r--
Write locations for SPIR-V pixel shader outputs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
739
dba3c975f467 Added unit test for parentheses inside a macro call.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
/* Should give you "RIGHT" instead of an error. */
dba3c975f467 Added unit test for parentheses inside a macro call.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#define a(a,b) b
dba3c975f467 Added unit test for parentheses inside a macro call.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
a((1+1), RIGHT)