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
199 B16 linesraw
1//TEST:SIMPLE:
2// #ifdef support
3
4#define A
5
6#ifdef A
7int foo() { return 0; }
8#else
9BadThing thatWontCompile;
10#endif
11
12#ifdef BadThing
13AnotherError onThisLine;
14#else
15int bar() { return foo(); }
16#endif