summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/stylecheck/fileinfo.nim2
-rw-r--r--tests/stylecheck/taccept.nim5
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/stylecheck/fileinfo.nim b/tests/stylecheck/fileinfo.nim
new file mode 100644
index 000000000..d6faf0c73
--- /dev/null
+++ b/tests/stylecheck/fileinfo.nim
@@ -0,0 +1,2 @@
+# fileinfo.nim
+type FileInfo* = object
\ No newline at end of file
diff --git a/tests/stylecheck/taccept.nim b/tests/stylecheck/taccept.nim
index afe02a65c..43a9ab71f 100644
--- a/tests/stylecheck/taccept.nim
+++ b/tests/stylecheck/taccept.nim
@@ -15,3 +15,8 @@ template hello =
   doAssert iD == "string"
 
 hello()
+
+# bug #12955
+import os
+import fileinfo
+var xs: seq[fileinfo.FileInfo]