From 06f6acb4b19cab55dd8637a41c11501bf8e7158e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 1 Feb 2016 17:25:38 -0700 Subject: inline is a keyword instead of a directive --- test/run_tests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/run_tests.cpp') 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"); } -- cgit v1.2.3