Commit 0d10c874 authored by parcs's avatar parcs
Browse files

Test Trac #8526

parent 9f711019
{-# LANGUAGE CPP #-}
module A where
#include "A.inc"
test('T8526', extra_clean(['A.inc']), ghci_script, ['T8526.script'])
:set -fforce-recomp
:set -v1
:! echo 'a = True' > A.inc
:load A
a
:! echo 'a = False' > A.inc
:reload
a
[1 of 1] Compiling A ( A.hs, interpreted )
Ok, modules loaded: A.
True
[1 of 1] Compiling A ( A.hs, interpreted )
Ok, modules loaded: A.
False
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