summary refs log blame commit diff stats
path: root/tests/stdlib/tmemslices.nim
blob: c0d6d39600c2c975b1d11b51e33f6218528a3102 (plain) (tree)
1
2
3
4
5
6
7
8
9
10





                                              
               
                                                      

                          
                          
          
discard """
outputsub: "rlwuiadtrnzb"
"""

# chatever the sub pattern it will find itself

import memfiles
var inp = memfiles.open("tests/stdlib/tmemslices.nim")
for mem in memSlices(inp):
  if mem.size > 3:
    echo("#" & $mem & "#")
close(inp)