Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC

Commits:

5 changed files:

Changes:

  • testsuite/tests/runghc/Makefile
    ... ... @@ -23,6 +23,11 @@ T11247:
    23 23
     	-'$(RUNGHC)' foo.
    
    24 24
     	-'$(RUNGHC)' foo.bar
    
    25 25
     
    
    26
    +# runghc should honour -osuf for dependencies too (#16145).
    
    27
    +T16145:
    
    28
    +	'$(RUNGHC)' -- -fobject-code -osuf=hs.o T16145
    
    29
    +	printf '%s\n' *.hi *.o *.hs | LC_ALL=C sort
    
    30
    +
    
    26 31
     T17171a:
    
    27 32
     	'$(RUNGHC)' --ghc-arg=-Wall T17171a.hs
    
    28 33
     T17171b:
    

  • testsuite/tests/runghc/T16145.hs
    1
    +module T16145 where
    
    2
    +
    
    3
    +import T16145_aux
    
    4
    +
    
    5
    +main = g

  • testsuite/tests/runghc/T16145.stdout
    1
    +T16145.hi
    
    2
    +T16145.hs
    
    3
    +T16145.hs.o
    
    4
    +T16145_aux.hi
    
    5
    +T16145_aux.hs
    
    6
    +T16145_aux.hs.o

  • testsuite/tests/runghc/T16145_aux.hs
    1
    +module T16145_aux where
    
    2
    +
    
    3
    +g :: IO ()
    
    4
    +g = return ()

  • testsuite/tests/runghc/all.T
    ... ... @@ -4,6 +4,8 @@ test('T8601', req_interp, makefile_test, [])
    4 4
     
    
    5 5
     test('T11247', [req_interp, expect_broken(11247)], makefile_test, [])
    
    6 6
     
    
    7
    +test('T16145', req_interp, makefile_test, [])
    
    8
    +
    
    7 9
     test('T6132', [],
    
    8 10
          compile, [''])
    
    9 11