Simon Jakobi pushed to branch wip/sjakobi/regression-tests-2 at Glasgow Haskell Compiler / GHC

Commits:

2 changed files:

Changes:

  • testsuite/tests/simplCore/should_compile/T9445.hs
    1
    +module T9445 (Transform) where
    
    2
    +
    
    3
    +data Transform = Transform
    
    4
    +    { m00 :: !Float, m10 :: !Float, m20 :: !Float
    
    5
    +    , m01 :: !Float, m11 :: !Float, m21 :: !Float
    
    6
    +    , m02 :: !Float, m12 :: !Float, m22 :: !Float
    
    7
    +    }
    
    8
    +
    
    9
    +instance Num Transform where
    
    10
    +  abs (Transform a00 a01 a02 a03 a04 a05 a06 a07 a08) =
    
    11
    +        (Transform (abs a00) (abs a01) (abs a02) (abs a03)
    
    12
    +            (abs a04) (abs a05) (abs a06) (abs a07) (abs a08))
    
    13
    +

  • testsuite/tests/simplCore/should_compile/all.T
    ... ... @@ -190,6 +190,7 @@ test('T9400', only_ways(['optasm']), compile, ['-O0 -ddump-simpl -dsuppress-uniq
    190 190
     test('T9441a', [only_ways(['optasm']), check_errmsg(r'f1 = f2') ], compile, ['-ddump-simpl -dsuppress-ticks'])
    
    191 191
     test('T9441b', [only_ways(['optasm']), check_errmsg(r'Rec {') ], compile, ['-ddump-simpl'])
    
    192 192
     test('T9441c', [only_ways(['optasm']), check_errmsg(r'Rec {') ], compile, ['-ddump-simpl'])
    
    193
    +test('T9445', only_ways(['optasm']), compile, ['-Wno-missing-methods'])
    
    193 194
     test('T9583', only_ways(['optasm']), compile, [''])
    
    194 195
     test('T9565', only_ways(['optasm']), compile, [''])
    
    195 196
     test('T5821', only_ways(['optasm']), compile, [''])