cryptol/tests/regression/check06.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

24 lines
674 B
Plaintext

Loading module Cryptol
Loading module Cryptol
Loading module Main
[warning] at :1:1--5:70:
Defaulting type parameter 'bits'
of finite enumeration
at ./check06.cry:5:24--5:32
to 2
[warning] at :1:1--5:70:
Defaulting type parameter 'bits'
of literal or demoted expression
at ./check06.cry:5:66--5:67
to 2
[warning] at <interactive>:1:1--1:24:
Defaulting type parameter 'bits'
of finite enumeration
at <interactive>:1:15--1:24
to 4
Assuming a = 2
[[0x1, 0x2], [0x2, 0x1], [0x1, 0x2], [0x2, 0x1], [0x1, 0x2],
[0x2, 0x1], [0x1, 0x2], [0x2, 0x1], [0x1, 0x2], [0x2, 0x1],
[0x1, 0x2]]
True