Commit 91790aa0 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Another test for Trac #7338, duplicate type sigs

parent 043fddf1
module T7338a where
a, b :: Int
a = undefined
b = undefined
c, a :: Int
c = undefined
c, d :: Int
d = undefined
\ No newline at end of file
T7338a.hs:7:4:
Duplicate type signatures for `a'
at T7338a.hs:3:1
T7338a.hs:7:4
T7338a.hs:10:1:
Duplicate type signatures for `c'
at T7338a.hs:7:1
T7338a.hs:10:1
......@@ -105,3 +105,4 @@ test('T6060', normal, compile_fail, [''])
test('T6148', normal, compile_fail, [''])
test('T7164', normal, compile_fail, [''])
test('T7338', normal, compile_fail, [''])
test('T7338a', normal, compile_fail, [''])
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