yum-mirror/slang

Making it easier to work with shaders

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

Tim FoleyMerge pull request #3 from tfoleyNV/rename-testsce90fec1c

master
203 B15 linesraw
1//TEST:SIMPLE:
2// #ifdef support
3
4
5#if (1 - 1*2) < 0
6int foo() { return 0; }
7#else
8BadThing thatWontCompile;
9#endif
10
11#if (1 >> 1) && ~999
12AnotherError onThisLine;
13#else
14int bar() { return foo(); }
15#endif