mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-21 02:40:56 +00:00
make sure missing return values still warn
This commit is contained in:
parent
5aba29006b
commit
a76702cb36
2 changed files with 3 additions and 1 deletions
|
@ -15,8 +15,10 @@ vector f_vector() {
|
|||
}
|
||||
|
||||
string f_string() {
|
||||
#ifndef FAIL_TEST
|
||||
return = "hello";
|
||||
return = "world";
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
I: rassign.qc
|
||||
D: test return assignments
|
||||
T: -execute
|
||||
C: -freturn-assignments
|
||||
C: -fftepp -freturn-assignments
|
||||
M: 200
|
||||
M: '200 200 200'
|
||||
M: world
|
||||
|
|
Loading…
Reference in a new issue