Commit 4e6bbb76 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #7541

parent a974886b
{-# OPTIONS_GHC -fno-warn-duplicate-constraints #-}
{-# LANGUAGE FlexibleContexts, Rank2Types #-}
module Test where
type Constrained x y r = (Eq x, Eq y) => x -> y -> r
f :: Constrained String String ()
f = undefined
......@@ -395,3 +395,4 @@ test('holes2', normal, compile, ['-fdefer-type-errors'])
test('holes3', normal, compile_fail, [''])
test('T7408', normal, compile, [''])
test('UnboxStrictPrimitiveFields', normal, compile, [''])
test('T7541', normal, compile, [''])
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