aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-04-14 10:39:03 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-04-14 10:39:03 -0700
commitfcedc35551cc6b14756499414e47c33004de3be4 (patch)
treefeb34b0985b29f45073ac81e21982a368e0a3542 /test/run_tests.cpp
parent83a59c4d077ead78a8c0ccecf8d4f7970309bf76 (diff)
downloadzig-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.cpp2
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");