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
262 B14 linesraw
1//TEST:SIMPLE(filecheck=CHECK):
2// #ifdef support
3#include "helper-2.slang"
4
5int64_t GetValue();
6
7void f()
8{
9	int i;
10	// CHECK: ([[# @LINE+1]]): warning 30081:
11	i = GetValue();
12}
13
14// Test that the #pragma warning (push / pop) englobing helper-2.slang are working