Changeset 4a2247f in git for Tst/Short/bug_newstruct2.tst
- Timestamp:
- May 10, 2018, 10:20:09 AM (6 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- a9277b66b88bb8d43115ce64c6e4958268c12236
- Parents:
- 30b89f743cd89646e4f3fbcb9a126a346f692f06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/Short/bug_newstruct2.tst
r30b89f7 r4a2247f 81 81 82 82 proc to_str(def arg) { return ("(overloaded)"); } 83 system("install", "stringifiable", "string", to_str, 1);83 system("install", "stringifiable", "string", to_str,4); 84 84 stry; // print falls back to string 85 85 string(stry); 86 86 87 87 proc to_str_wrong(def arg) { return (17); } 88 system("install", "stringifiable", "string", to_str_wrong, 1);88 system("install", "stringifiable", "string", to_str_wrong,4); 89 89 stry; // incorrectly converted, fall back to default 90 90 string(stry);
Note: See TracChangeset
for help on using the changeset viewer.