Skip to content
Snippets Groups Projects
Commit cc6dcd92 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 2000-10-02 16:06:48 by simonpj]

Add check for unboxed function arguments
parent fead2a3c
No related branches found
No related tags found
No related merge requests found
{-# OPTIONS -fglasgow-exts #-}
-- !!! Check that unboxed tuples can't be function arguments
module ShouldFail where
data Ex = Ex (# Int,Int #)
f :: (# Int,Int #) -> Int
f x = error "urk"
g (# x,y #) = x
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment