Commit 88b84063 authored by rwbarton's avatar rwbarton

Test case for indirect dependencies in ghci linker (#10322)

parent 619a324e
:set -fobject-code
:load T10322A T10322B T10322C
T10322A.a
T10322B.b
T10322C.c
module T10322A (a) where
{-# NOINLINE a #-}
a :: Int
a = 3
module T10322B (b) where
import T10322A (a)
b :: Int
b = a+1
module T10322C (c) where
import T10322A (a)
import T10322B (b)
c :: Int
c = a+b
......@@ -207,3 +207,5 @@ test('T9878b',
extra_clean(['T9878b.hi','T9878b.o'])],
ghci_script, ['T9878b.script'])
test('T10122', normal, ghci_script, ['T10122.script'])
test('T10322', when(opsys('darwin'), expect_broken(10322)),
ghci_script, ['T10322.script'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment