summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/T2806.hs
blob: a130d49528548f0289a4de0efacb3941a832b85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

{-# LANGUAGE MagicHash #-}
{-# OPTIONS_GHC -Werror #-}

-- Trac #2806

module Foo where

import GHC.Base

foo :: Int
foo = 3
    where (I# _x) = 4