cryptol/tests/regression/check08.icry.stdout
Adam C. Foltzer 3d275ea44c add load targets to search path
Fixes a bug pointed out by @weaversa:
https://github.com/GaloisInc/cryptol/issues/127#issuecomment-64464455

In addition to the other search path changes in #127, we now will add
the directory containing files to be loaded to the search path. This
applies to:

- files loaded with a command line argument, like in the original
  comment
- arguments to `:l`, so for example `:l examples/DES.cry` would work
- batch file arguments, so for example running `cryptol -b
  /some/path/bar.cry` adds `/some/path` to the search path.
2015-02-17 15:27:59 -08:00

22 lines
580 B
Plaintext

Loading module Cryptol
Loading module Cryptol
Loading module Main
[warning] at :1:1--7:45:
Defaulting type parameter 'bits'
of finite enumeration
at ./check08.cry:9:25--9:33
to 3
[warning] at :1:1--7:45:
Defaulting type parameter 'bits'
of finite enumeration
at ./check08.cry:7:16--7:24
to 3
[warning] at <interactive>:1:1--1:15:
Defaulting type parameter 'bits'
of finite enumeration
at <interactive>:1:7--1:15
to 3
[0x00000001, 0x00000002, 0x00000005, 0x0000000c, 0x0000001b]
True
Q.E.D.