diff --git a/tests/stylecheck/fileinfo.nim b/tests/stylecheck/fileinfo.nim new file mode 100644 index 0000000000..d6faf0c735 --- /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 afe02a65c8..43a9ab71f3 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]