yum-mirror/slang

Making it easier to work with shaders

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

RonanImplemented #pragma warning (#6748)5f632cd20

master
276 B14 linesraw
1//TEST:SIMPLE(filecheck=CHECK):
2// #ifdef support
3#include "helper-1.slang"
4
5int64_t GetValue();
6
7void f()
8{
9	int i;
10	// CHECK-NOT: ([[# @LINE+1]]): warning 30081:
11	i = GetValue();
12}
13
14// Test that the #pragma warning (disable) in helper-1.slang disables the warning on line 10