yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
369279e91
master
1// x-macro-line-continuation.slang 2//TEST:SIMPLE: 3 4// Tests line continuations on diagnostic output of macros 5 6#define X(M) \ 7 M(0) \ 8 M(1) \ 9 M(2) \ 10 M(3) \ 11 M(4, 4) \ 12 M(5) \ 13 M(6) \ 14 M(7) 15 16#define A(x) + x + x + x 17 18int sum() 19{ 20 return X(A); 21}