implemented user-defined pragmas
This commit is contained in:
parent
5a2163d71d
commit
804e2ac89d
11 changed files with 237 additions and 151 deletions
7
tests/accept/compile/tuserpragma.nim
Normal file
7
tests/accept/compile/tuserpragma.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
{.pragma: rtl, cdecl, exportc.}
|
||||
|
||||
proc myproc(x, y: int): int {.rtl} =
|
||||
nil
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue