1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 01:52:11 +03:00
juvix/tests/positive/Foreign.mjuvix
2022-05-05 15:11:18 +01:00

38 lines
440 B
Plaintext

module Foreign;
foreign ghc {};
foreign ghc { import Foo.Bar };
foreign c { import Foo.Bar };
foreign ghc { import Foo.Bar
import Foo.Baz };
foreign ghc {
import Foo.Bar
import Foo.Baz };
foreign ghc {
import Foo.Bar
import Foo.Baz
};
foreign ghc {
import Foo.Bar
import Foo.Baz
};
foreign ghc {
data Foo = Foo { _unFoo :: Int \} -- \\ test
};
foreign ghc {
data Foo = Foo {
_unFoo :: Int
\}
};
end;