summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-16 11:00:00 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-16 11:00:00 +0000
commitefaa4a3b7a7b92b080937098e67cfe28e7f32296 (patch)
tree24e4be79aec01ca50772c7fc3859a534be2cd9fe /tests
parentd320a5acb137f85dce7a95d1d81cf58bd2796088 (diff)
Noted portability error in 'functions/test_attributes.zc'.
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() {}