yum-mirror/slang

Making it easier to work with shaders

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

Yong HeWarn on semicolon after `if`. (#2948)dccc9091c

master
160 B11 linesraw
1//DIAGNOSTIC_TEST(windows):SIMPLE:
2
3// Test that use of empty statement after an `if` leads to an warning.
4
5struct S {}
6
7void test()
8{
9	if (1+1==2);
10		return;
11}