Skip to content

Commit 557014c

Browse files
committed
add mention of test attribute
Fixes #16413
1 parent 3f1ed86 commit 557014c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/doc/reference.md

+2
Original file line numberDiff line numberDiff line change
@@ -1924,6 +1924,8 @@ type int8_t = i8;
19241924
- `start` - indicates that this function should be used as the entry point,
19251925
overriding the "start" language item. See the "start" [language
19261926
item](#language-items) for more details.
1927+
- `test` - indicates that this function is a test function, to only be compiled
1928+
in case of `--test`.
19271929

19281930
### Static-only attributes
19291931

0 commit comments

Comments
 (0)