aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_tests.cpp')
-rw-r--r--test/run_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp
index 3cee4852cd..c873ae1b0d 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -2046,8 +2046,8 @@ typedef void Foo;
Foo fun(Foo *a);
)SOURCE", 3,
"pub type c_void = u8;",
- "pub type Foo = c_void;",
- "pub extern fn fun(a: ?&Foo);");
+ "pub const Foo = c_void;",
+ "pub extern fn fun(a: ?&c_void);");
}
static void print_compiler_invocation(TestCase *test_case) {