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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp
index 83fb14c12a..da8e011b3d 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -2114,8 +2114,7 @@ extern void (*fn_ptr)(void);
#define foo fn_ptr
)SOURCE", 2,
"pub extern var fn_ptr: ?extern fn();",
- R"SOURCE(#attribute("inline")
-pub fn foo() {
+ R"SOURCE(pub inline fn foo() {
(??fn_ptr)()
})SOURCE");
}