diff options
author | Andreas Rumpf <andreas@andreas-laptop> | 2010-07-23 20:17:12 +0200 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-laptop> | 2010-07-23 20:17:12 +0200 |
commit | 804e2ac89d378b87e0ec8c723f607aa4271c57bb (patch) | |
tree | ead60f389a638029f7c1625b0e8961179119e702 /tests/accept/compile | |
parent | 5a2163d71d79943a8fcdb34bef9b0bbecb8b40c7 (diff) | |
download | Nim-804e2ac89d378b87e0ec8c723f607aa4271c57bb.tar.gz |
implemented user-defined pragmas
Diffstat (limited to 'tests/accept/compile')
-rw-r--r-- | tests/accept/compile/tuserpragma.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/accept/compile/tuserpragma.nim b/tests/accept/compile/tuserpragma.nim new file mode 100644 index 000000000..784baa176 --- /dev/null +++ b/tests/accept/compile/tuserpragma.nim @@ -0,0 +1,7 @@ + +{.pragma: rtl, cdecl, exportc.} + +proc myproc(x, y: int): int {.rtl} = + nil + + |