main = forever (putStrLn =<< getLine) continuously saturates a CPU when compiled
$ ghc --make copycat.hs
$ ./copycat
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.4.1-rc1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |