Commit 5edcf949 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

Fix T16737

* Disable in profasm way when GHC is dynamically linked
* Drop -optcxx as fix for #16477 is not present in 8.8
parent 1c18d3b4
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -DFOO=2 -optP=-DBAR=3 -optc=-DBAZ=5 -optcxx=-DBAZ=7 #-}
{-# OPTIONS_GHC -DFOO=2 -optP=-DBAR=3 -optc=-DBAZ=5 #-}
import Language.Haskell.TH.Syntax
......
......@@ -287,4 +287,7 @@ test('inline-check', omit_ways(['hpc', 'profasm'])
test('T14452', [], run_command, ['$MAKE -s --no-print-directory T14452'])
test('T15396', normal, compile_and_run, ['-package ghc'])
test('T16737', [extra_files(['T16737include/'])], compile_and_run, ['-optP=-isystem -optP=T16737include'])
test('T16737',
[when(ghc_dynamic(), omit_ways(['profasm'])), extra_files(['T16737include/'])],
compile_and_run,
['-optP=-isystem -optP=T16737include'])
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