projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-04-03 16:28:11 by sewardj]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail075.hs
1
{-# OPTIONS -fglasgow-exts #-}
2
3
-- !!! Test top-level unboxed types
4
5
module ShouldFail where
6
7
import PrelGHC
8
9
x = 1#
10
11
y :: Int#
12
y = x +# 1#
13
14
main = let
15
z = x -# y
16
in
17
if z ># 3# then putStrLn "Yes"
18
else putStrLn "No"