Warning for #pragma once. GLSL and HLSL. Addresses #824.

This commit is contained in:
John Kessenich
2018-02-11 22:04:45 -07:00
parent b5bf536b5f
commit 23ea3db3e5
5 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
WARNING: 0:10: '#pragma once' : not implemented

View File

@@ -7,6 +7,8 @@
#pragma undefined_pragma(x,4)
#pragma once
int main(){
}

View File

@@ -7,5 +7,7 @@
#pragma undefined_pragma(x, 4)
#pragma once
int main() {
}