close #15955; add a test case (#20414)

This commit is contained in:
ringabout 2022-09-24 01:37:21 +08:00 • committed by GitHub
commit 37ca97dd76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

4
tests/misc/m15955.nim Normal file
View file

@ -0,0 +1,4 @@
proc add*(a, b: int): int {.cdecl, exportc.} =
a + b
proc sub*(a, b: int): int {.cdecl, exportc.} =
a - b