yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
5f632cd20
master
1//TEST:SIMPLE(filecheck=CHECK): 2// #ifdef support 3#pragma warning (push) 4#pragma warning (error : 30081) 5int64_t GetValue(); 6#pragma warning (pop) 7void f() 8{ 9 int i; 10 // CHECK: ([[# @LINE+1]]): warning 30081: 11 i = GetValue(); 12} 13 14// Test that #pragma warning (push) and (pop) work as expected