yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

T. FoleyOverhaul the preprocessor (#1849)0389546b0

master
222 B10 linesraw
1//DIAGNOSTIC_TEST:SIMPLE:-E
2
3// If a macro can take a single parameter, it is valid to pass in 'nothing'.
4// Old Slang outputs an error about the wrong amount of parameters
5// Correct output: a b
6
7#define A(x) a x b
8
9A()
10