diff options
Diffstat (limited to 'tests/pragmas/custom_pragma.nim')
-rw-r--r-- | tests/pragmas/custom_pragma.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pragmas/custom_pragma.nim b/tests/pragmas/custom_pragma.nim new file mode 100644 index 000000000..d2fc969d0 --- /dev/null +++ b/tests/pragmas/custom_pragma.nim @@ -0,0 +1,5 @@ +# imported by tcustom_pragmas to test scoping + +template serializationKey*(s: string) {.pragma.} +template defaultValue*(V: typed) {.pragma.} +template alternativeKey*(s: string = "", V: typed) {.pragma.} |