diff --git a/t/src/misc.t b/t/src/misc.t
index bdbe183..05d16d4 100644
|
a
|
b
|
|
| 54 | 54 | int main(int argc, const char **argv) |
| 55 | 55 | { |
| 56 | 56 | Parrot_Interp interp; |
| | 57 | char buf[11]; |
| 57 | 58 | interp = Parrot_new(NULL); |
| 58 | 59 | if (! interp) |
| 59 | 60 | fail("Cannot create parrot interpreter"); |
| 60 | | char buf[11]; |
| 61 | 61 | Parrot_snprintf(interp, buf, 11, "test%d", 123456); |
| 62 | 62 | puts(buf); |
| 63 | 63 | |
| … |
… |
|
| 88 | 88 | int main(int argc, const char **argv) |
| 89 | 89 | { |
| 90 | 90 | Parrot_Interp interp; |
| | 91 | char *buf = "unchanged"; |
| 91 | 92 | interp = Parrot_new(NULL); |
| 92 | 93 | if (! interp) |
| 93 | 94 | fail("Cannot create parrot interpreter"); |
| 94 | | char *buf = "unchanged"; |
| 95 | 95 | Parrot_snprintf(interp, buf, 0, ""); |
| 96 | 96 | |
| 97 | 97 | if (buf == "unchanged") puts("Done"); |