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

{-# LANGUAGE MagicHash #-}
{-# OPTIONS_GHC -Wunbanged-strict-patterns #-}

-- #2806

module Foo where

import GHC.Base

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