yum-mirror/slang

Making it easier to work with shaders

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

jsmall-nvidia#include not using search paths (#873)69d265105

master
304 B13 linesraw
1//TEST:SIMPLE: -Itests/preprocessor/include
2// #include support
3
4int foo() { return 0; }
5
6#include "pragma-once-c.h"
7
8// If include worked this will be defined
9#ifndef ONLY_DEFINED_ONCE_C
10// And so hitting this indicates and error (and will fail as bar isn't defined)
11int baz() { return bar(); }
12#endif
13