Commit cb9fe768 authored by simonpj's avatar simonpj
Browse files

[project @ 2005-12-19 09:47:49 by simonpj]

Add test for trailing parens in GADT signatures
parent 06a9dacd
......@@ -13,6 +13,8 @@ test('gadt9', normal, compile, [''])
test('gadt10', normal, compile_fail, [''])
test('gadt11', normal, compile_fail, [''])
test('gadt13', normal, compile_fail, [''])
test('gadt14', normal, compile, [''])
test('red-black', normal, compile, [''])
test('type-rep', normal, compile_and_run, [''])
test('equal', normal, compile, [''])
......
{-# OPTIONS -fglasgow-exts #-}
-- Check that trailing parens are ok in data con signatures
module ShouldCompile where
data T where
MkT :: Int -> (Int -> T)
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