mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
Put this back in global scope, we have a local scope test
This commit is contained in:
parent
4fa694fe82
commit
3945f26d92
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
const float a = 1.0 / 3.0;
|
||||
const float b = 0.33333333333;
|
||||
|
||||
void main() {
|
||||
const float a = 1.0 / 3.0;
|
||||
const float b = 0.33333333333;
|
||||
if (a == b) {
|
||||
// Should trigger warning
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue