aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-01-31 13:20:44 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-01-31 13:20:44 -0700
commitc1640a924643d0b3d3616c2a41f70918d6150301 (patch)
tree8bf2b3d56c08aba6b370608694dbfee8b330d86e /test/run_tests.cpp
parent4c1f0f02d021f7897e530c4406607a959bdb5c79 (diff)
downloadzig-c1640a924643d0b3d3616c2a41f70918d6150301.tar.gz
zig-c1640a924643d0b3d3616c2a41f70918d6150301.zip
parseh: use the decayed type not original type
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 a818bbc4f0..c622a265e0 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -1969,7 +1969,7 @@ pub const Bar = enum_Bar;)OUTPUT");
add_parseh_case("constant size array", R"SOURCE(
void func(int array[20]);
- )SOURCE", 1, R"OUTPUT(pub extern fn func(array: [20]c_int);)OUTPUT");
+ )SOURCE", 1, "pub extern fn func(array: ?&c_int);");
add_parseh_case("self referential struct with function pointer", R"SOURCE(