make sure missing return values still warn

This commit is contained in:
Wolfgang Bumiller 2013-05-29 17:01:26 +02:00
parent 5aba29006b
commit a76702cb36
2 changed files with 3 additions and 1 deletions

View file

@ -15,8 +15,10 @@ vector f_vector() {
}
string f_string() {
#ifndef FAIL_TEST
return = "hello";
return = "world";
#endif
return;
}

View file

@ -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