summary refs log tree commit diff stats
path: root/nimpretty/tests/expected
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2021-03-12 15:34:42 +0100
committerGitHub <noreply@github.com>2021-03-12 15:34:42 +0100
commit4f0bac791a3d8ae198d8bbbbed29410d3d7d3d7c (patch)
tree86c551dbd64ef5ca83f47db5c97eb16949983e04 /nimpretty/tests/expected
parent686bf3bfc6a492304e7f662a8da8fff436cba53e (diff)
downloadNim-4f0bac791a3d8ae198d8bbbbed29410d3d7d3d7c.tar.gz
fix #12155, improve nimpretty's handling of pragmas (#17353)
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r--nimpretty/tests/expected/exhaustive.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/exhaustive.nim b/nimpretty/tests/expected/exhaustive.nim
index 382722ea7..82927a11c 100644
--- a/nimpretty/tests/expected/exhaustive.nim
+++ b/nimpretty/tests/expected/exhaustive.nim
@@ -856,3 +856,8 @@ type
   SpinnyEvent2 = tuple
     kind: EventKind
     payload: string
+
+
+proc hid_open*(vendor_id: cushort; product_id: cushort;
+    serial_number: cstring): ptr HidDevice {.
+    importc: "hid_open", dynlib: hidapi.}