make sure missing return values still warn
authorWolfgang Bumiller <wry.git@bumiller.com>
Wed, 29 May 2013 15:01:26 +0000 (17:01 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Wed, 29 May 2013 15:01:26 +0000 (17:01 +0200)
tests/rassign.qc
tests/rassign.tmpl

index 69ec31cf9017ff0a18c361bddbbae4c2170fefb8..f39b6ea86716ce6fb3e5d1e35e91c099ac9db972 100644 (file)
@@ -15,8 +15,10 @@ vector f_vector() {
 }
 
 string f_string() {
+#ifndef FAIL_TEST
     return = "hello";
     return = "world";
+#endif
     return;
 }
 
index f169c8230ac0c7236bf6c170643eeb282b90af25..948cb540efdbcbdccbfd80415e8a734d595d429b 100644 (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