summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/functions/test_attributes.zc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/functions/test_attributes.zc b/tests/functions/test_attributes.zc
index fef6a49..1f02694 100644
--- a/tests/functions/test_attributes.zc
+++ b/tests/functions/test_attributes.zc
@@ -69,8 +69,10 @@ fn complex_calc(x: int) -> int {
return x * 2;
}
+#if defined(__linux__)
@section(".custom_section")
fn section_func() {}
+#endif
@weak
fn weak_func() {}