yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
922cd543d
master
1// macro-expansion.slang 2// 3//TEST:SIMPLE: 4 5// Test a bug where macro expansion isn't being 6// triggered for back-to-back uses of a function-like 7// macro. 8 9#define IGNORE(THING) /* empty */ 10 11void test() 12{ 13 IGNORE(badStuff) 14 IGNORE(moreBad) 15 ; 16}