unit_tests/preprocessor/output/macro-arg-overrides-define
author Ethan Lee <flibitijibibo@flibitijibibo.com>
Wed, 26 Aug 2020 14:37:18 -0400
changeset 1301 79bbc92200dc
parent 874 24cf91180d22
permissions -rw-r--r--
Write locations for SPIR-V pixel shader outputs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
874
24cf91180d22 Added unit test for better coverage of bug I just fixed.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
// This should produce THIS_IS_THE_MACRO_ARG and not THIS_IS_THE_DEFINE.
24cf91180d22 Added unit test for better coverage of bug I just fixed.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
#define x THIS_IS_THE_DEFINE
24cf91180d22 Added unit test for better coverage of bug I just fixed.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
#define b(x) x
24cf91180d22 Added unit test for better coverage of bug I just fixed.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
#define z(x) b(x)
24cf91180d22 Added unit test for better coverage of bug I just fixed.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
z(THIS_IS_THE_MACRO_ARG)