unit_tests/preprocessor/output/concat-operator-stacked-override
author Ryan C. Gordon <icculus@icculus.org>
Wed, 24 Feb 2010 13:18:50 -0500
changeset 863 929ec7cd03e0
permissions -rw-r--r--
Added unit tests for preprocessor's macro concat operator. These fail at the moment.

// This should produce "RIGHT" and not "WRONG"
#define WR RI
#define ONG GHT
#define REPLACE(WR, ONG) WR##ONG
#define REPLACE2(WR, ONG) REPLACE(WR, ONG)
REPLACE2(WR, ONG)