mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Make Nim example actually work (#2264)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# Type your code here, or load an example.
|
||||
proc square(num: int): int =
|
||||
proc square(num: int): int {.exportc.} =
|
||||
num * num
|
||||
|
||||
Reference in New Issue
Block a user