yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
0389546b0
master
1//DIAGNOSTIC_TEST:SIMPLE:-E 2 3#define CONCAT(a, b) a ## b 4 5#define A a 6#define B b 7 8#define A2 A 9#define B2 B 10 11#define STRINGIFY(x) #x 12 13// Should be 14// CONCAT(a, b) A2B2 CONCAT(a, b) 15// CONCAT is disabled, A and B are expanded on next pass 16// A2 B2 are first and last tokens pre expansion args 17// 18// Old Slang outputs 19// ab ab ab 20 21CONCAT(CONCAT(A, B) A2, B2 CONCAT(A, B))