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
237 B14 linesraw
1//TEST:SIMPLE(filecheck=CHECK):
2// #ifdef support
3
4int64_t GetValue();
5
6void f()
7{
8	int i;
9	// CHECK-NOT: ([[# @LINE+2]]): warning 30081:
10#pragma warning (suppress : 30081)
11	i = GetValue();
12}
13
14// Simple test of #pragma warning (suppress)