projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail087.hs
1
{-# OPTIONS -fglasgow-exts #-}
2
3
-- !!! Check that unboxed tuples can't be function arguments
4
module ShouldFail where
5
6
data Ex = Ex (# Int,Int #)
7
8
f :: (# Int,Int #) -> Int
9
f x = error "urk"
10
11
g (# x,y #) = x
12
13