pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:844:
test_compile_error([[ function(,...:int) foo; ]]); test_compile_error([[ function(string,...:int) foo; ]]); test_compile_any([[
-
#pragma strict_types
+
//
#pragma strict_types
void x (void|mapping(string:string) args) { if (args) foreach (indices (args), string a) werror ("%O\n", a); } ]]) // For some reason, the test above doesn't generate the warning (about // the type from indices (args)) if it comes after the one below.