diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-04-14 10:39:03 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-04-14 10:39:03 -0700 |
| commit | fcedc35551cc6b14756499414e47c33004de3be4 (patch) | |
| tree | feb34b0985b29f45073ac81e21982a368e0a3542 /test/run_tests.cpp | |
| parent | 83a59c4d077ead78a8c0ccecf8d4f7970309bf76 (diff) | |
| download | zig-fcedc35551cc6b14756499414e47c33004de3be4.tar.gz zig-fcedc35551cc6b14756499414e47c33004de3be4.zip | |
fix crash with generic function and implicit cast
Diffstat (limited to 'test/run_tests.cpp')
| -rw-r--r-- | test/run_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp index 461ee4172c..30fc1fdcf8 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -1667,7 +1667,7 @@ extern void (*fn_ptr)(void); )SOURCE", 2, "pub extern var fn_ptr: ?extern fn();", R"SOURCE(pub inline fn foo() { - (??fn_ptr)() + (??fn_ptr)(); })SOURCE"); |
