Commit f35369ce authored by simonpj's avatar simonpj
Browse files

Add test for infix type constructor

parent bb6e9cd0
......@@ -158,4 +158,5 @@ test('tcfail169', normal, compile_fail, [''])
test('tcfail170', normal, compile_fail, [''])
test('tcfail171', normal, compile_fail, [''])
test('tcfail172', normal, compile_fail, [''])
test('tcfail173', normal, compile_fail, [''])
{-# OPTIONS -fglasgow-exts #-}
module ShouldFail where
newtype (f <.> g) a = Compose (f (g a))
tcfail173.hs:5:9: Malformed head of type or class declaration
Supports Markdown
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