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
304 B18 linesraw
1//TEST:SIMPLE(filecheck=CHECK):
2// #ifdef support
3
4int64_t GetValue();
5
6void f()
7{
8	int i;
9#pragma warning (disable : 30081 15205)
10	// CHECK-NOT: ([[# @LINE+1]]): warning 30081:
11	i = GetValue();
12	// CHECK-NOT: ([[# @LINE+1]]): warning 15205:
13#if MY_MACRO
14
15#endif
16}
17
18// Test a warning specifier on two ids