Debian Codegraph @

tests/2185.gvpr

raw
1 BEGIN{
2 int i=99;
3 float f=76.3;
4 string A, B, Z;
5
6 void doPrnt(string errString) {
7 print(errString);
8 }
9
10 A=" five ";
11
12 doPrnt("one " + "two " + "three"); // yea, something works
13 doPrnt("one " + A + "three");
14 doPrnt((string)(i));
15 // try the fallback - sprintf (it fails, too)
16 doPrnt(sprintf("%s\n", "Constant"));
17 }