summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T12906.hs
blob: 80a10f33f6586e9e87930d749468a906fd78c173 (plain)
1
2
3
4
5
x :: String -> String
x s = print (reverse s + 1)

myshow :: (String -> String) -> String
myshow x = show x