| 1 | Fri Aug 7 12:00:19 PDT 2009 Alexander Dunlap <alexander.dunlap@gmail.com> |
|---|
| 2 | * Regression test for Trac #2395 |
|---|
| 3 | |
|---|
| 4 | New patches: |
|---|
| 5 | |
|---|
| 6 | [Regression test for Trac #2395 |
|---|
| 7 | Alexander Dunlap <alexander.dunlap@gmail.com>**20090807190019 |
|---|
| 8 | Ignore-this: a60faf89928344e7c9982646ce0193f9 |
|---|
| 9 | ] { |
|---|
| 10 | hunk ./tests/ghc-regress/deSugar/should_compile/all.T 69 |
|---|
| 11 | test('ds060', expect_broken(322), compile, ['']) |
|---|
| 12 | test('ds061', expect_broken(851), compile, ['']) |
|---|
| 13 | test('ds062', normal, compile, ['']) |
|---|
| 14 | +test('ds063', normal, compile, ['']) |
|---|
| 15 | |
|---|
| 16 | test('T2409', normal, compile, ['']) |
|---|
| 17 | test('T3263-1', if_compiler_lt('ghc', '6.11', expect_fail), compile, ['-fwarn-unused-do-bind -XRecursiveDo']) |
|---|
| 18 | addfile ./tests/ghc-regress/deSugar/should_compile/ds063.hs |
|---|
| 19 | hunk ./tests/ghc-regress/deSugar/should_compile/ds063.hs 1 |
|---|
| 20 | +{-# OPTIONS_GHC -Wall #-} |
|---|
| 21 | +{-# LANGUAGE ViewPatterns #-} |
|---|
| 22 | + |
|---|
| 23 | +module ShouldCompile where |
|---|
| 24 | + |
|---|
| 25 | +f :: Int -> Int |
|---|
| 26 | +f ((+1) -> 1) = 5 |
|---|
| 27 | +f _ = 3 |
|---|
| 28 | + |
|---|
| 29 | +-- Should not give an overlapping-patterns or non-exhaustive-patterns error |
|---|
| 30 | +-- See Trac #2395 |
|---|
| 31 | } |
|---|
| 32 | |
|---|
| 33 | Context: |
|---|
| 34 | |
|---|
| 35 | [remove deprecated -#include flag |
|---|
| 36 | Simon Marlow <marlowsd@gmail.com>**20090805105047 |
|---|
| 37 | Ignore-this: b9aa8cbf54564941c544ae78ba3cb376 |
|---|
| 38 | ] |
|---|
| 39 | [fix tests after RTS tidyup |
|---|
| 40 | Simon Marlow <marlowsd@gmail.com>**20090803123501 |
|---|
| 41 | Ignore-this: 3ea78cb5bb05e68c634bcc961c13d9a0 |
|---|
| 42 | ] |
|---|
| 43 | [Remove the DiffArray tests |
|---|
| 44 | Ian Lynagh <igloo@earth.li>**20090802132048 |
|---|
| 45 | They're now in the diffarray package |
|---|
| 46 | ] |
|---|
| 47 | [Add a test for trac #789 |
|---|
| 48 | Ian Lynagh <igloo@earth.li>**20090801153538] |
|---|
| 49 | [Update array test outputs |
|---|
| 50 | Ian Lynagh <igloo@earth.li>**20090730153649] |
|---|
| 51 | [add test for atomic_inc()/atomic_dec() |
|---|
| 52 | Simon Marlow <marlowsd@gmail.com>**20090729075547 |
|---|
| 53 | Ignore-this: f754a4aaa6aa21458375e299f2e7141b |
|---|
| 54 | ] |
|---|
| 55 | [2816 is if_platform('i386-unknown-mingw32',expect_broken(3398)) |
|---|
| 56 | Simon Marlow <marlowsd@gmail.com>**20090727143202 |
|---|
| 57 | Ignore-this: a9e5f453ce3b5a951c2364cfcebd7cbe |
|---|
| 58 | ] |
|---|
| 59 | [bump limits for T1969 again (it was failing on Windows) |
|---|
| 60 | Simon Marlow <marlowsd@gmail.com>**20090724091355 |
|---|
| 61 | Ignore-this: b384a8221a8dec7a89522ee79de2dbf6 |
|---|
| 62 | ] |
|---|
| 63 | [Test for make supporting abspath, and fail if it doesn't |
|---|
| 64 | Ian Lynagh <igloo@earth.li>**20090726135136 |
|---|
| 65 | This fixes problems using GNU make 3.80. |
|---|
| 66 | ] |
|---|
| 67 | [add --no-user-package-conf for ghc-pkg tests |
|---|
| 68 | Simon Marlow <marlowsd@gmail.com>**20090724151549 |
|---|
| 69 | Ignore-this: 58db107bb49d62173ad46881cd956599 |
|---|
| 70 | ] |
|---|
| 71 | [add -no-user-package-conf to GHC command lines |
|---|
| 72 | Simon Marlow <marlowsd@gmail.com>**20090724123813 |
|---|
| 73 | Ignore-this: 57b0e90bfcb89d1793a2c61c014b5414 |
|---|
| 74 | ] |
|---|
| 75 | [Test Trac #3391 |
|---|
| 76 | simonpj@microsoft.com**20090723160523 |
|---|
| 77 | Ignore-this: dbd9e3f6cb4ce6564aa1d6e9c8339a28 |
|---|
| 78 | ] |
|---|
| 79 | [Follow output changes (braces in do-notation) |
|---|
| 80 | simonpj@microsoft.com**20090723152556 |
|---|
| 81 | Ignore-this: 74e9ad4d85c7624114084ad8eb054910 |
|---|
| 82 | ] |
|---|
| 83 | [fix broken test on Windows |
|---|
| 84 | Simon Marlow <marlowsd@gmail.com>**20090723120826 |
|---|
| 85 | Ignore-this: b7be929f7d1302f59cd74cf1eff4aade |
|---|
| 86 | ] |
|---|
| 87 | [Follow output |
|---|
| 88 | simonpj@microsoft.com**20090723131845 |
|---|
| 89 | Ignore-this: 78fe9e7daf9d70c06da6dfb0332575f7 |
|---|
| 90 | ] |
|---|
| 91 | [Test standalone deriving for GADTs |
|---|
| 92 | simonpj@microsoft.com**20090723100441 |
|---|
| 93 | Ignore-this: b45fafc180241619d364f1080215869f |
|---|
| 94 | ] |
|---|
| 95 | [Tweak tests for unboxed tuple sections |
|---|
| 96 | Max Bolingbroke <batterseapower@hotmail.com>**20090717214231 |
|---|
| 97 | Ignore-this: 6abc5631f1028b628f155f0a20ece4da |
|---|
| 98 | ] |
|---|
| 99 | [Tests for unboxed tuple sections |
|---|
| 100 | Max Bolingbroke <batterseapower@hotmail.com>**20090717212443 |
|---|
| 101 | Ignore-this: 3a31b5c69acb53e3f543c8fb92aca38e |
|---|
| 102 | ] |
|---|
| 103 | [Tests for basic TupleSections |
|---|
| 104 | Max Bolingbroke <batterseapower@hotmail.com>**20090717204659 |
|---|
| 105 | Ignore-this: 7bf3a8e08b6b654f5dd9a9fba31f9cbe |
|---|
| 106 | ] |
|---|
| 107 | [Use /usr/bin/env to find Python |
|---|
| 108 | Simon Marlow <marlowsd@gmail.com>**20090723075156 |
|---|
| 109 | Ignore-this: e6315057539fb198d98909cb1dda243f |
|---|
| 110 | |
|---|
| 111 | Contributed by: Krister Walfridsson <krister.walfridsson@gmail.com> |
|---|
| 112 | ] |
|---|
| 113 | [Follow Integer changes |
|---|
| 114 | Ian Lynagh <igloo@earth.li>**20090721234536] |
|---|
| 115 | [accept output |
|---|
| 116 | Simon Marlow <marlowsd@gmail.com>**20090722122529 |
|---|
| 117 | Ignore-this: 35b847e78b8062dac668425dcf3e7a57 |
|---|
| 118 | ] |
|---|
| 119 | [Give us some more breathing room in T1969. |
|---|
| 120 | Simon Marlow <marlowsd@gmail.com>**20090722122518 |
|---|
| 121 | Ignore-this: 550cf0b0b58bf69f57858dccc9e4e416 |
|---|
| 122 | |
|---|
| 123 | Memory use went up a little with my change to external names, as most |
|---|
| 124 | names got longer. However, we're still doing better than 6.10 on this |
|---|
| 125 | test, so I don't mind bumping the limit a bit. |
|---|
| 126 | ] |
|---|
| 127 | [tc215 works now that Trac #366 is done |
|---|
| 128 | simonpj@microsoft.com**20090722105733 |
|---|
| 129 | Ignore-this: e9f108b8632316cc2d9c23370121d03 |
|---|
| 130 | ] |
|---|
| 131 | [Test pattern-match overlap checking for GADTs |
|---|
| 132 | simonpj@microsoft.com**20090722051806 |
|---|
| 133 | Ignore-this: 355ff54d49f196f3b4e769ce486786f0 |
|---|
| 134 | ] |
|---|
| 135 | [Test for Trac #3382 |
|---|
| 136 | simonpj@microsoft.com**20090720060155 |
|---|
| 137 | Ignore-this: b8a90bfdf4219235cf0adb51c0d36e36 |
|---|
| 138 | ] |
|---|
| 139 | [Add a test for #1647 |
|---|
| 140 | Ian Lynagh <igloo@earth.li>**20090719181425] |
|---|
| 141 | [Add a test for #3055 |
|---|
| 142 | Ian Lynagh <igloo@earth.li>**20090717222040] |
|---|
| 143 | [Add test for Trac #3346 |
|---|
| 144 | simonpj@microsoft.com**20090717155827 |
|---|
| 145 | Ignore-this: 52203cff9520f0f502612cf5880e660c |
|---|
| 146 | ] |
|---|
| 147 | [accept output after changes to dfun naming |
|---|
| 148 | Simon Marlow <marlowsd@gmail.com>**20090716144125 |
|---|
| 149 | Ignore-this: 295a3d8c86c533edb40d077a1fbdf2e5 |
|---|
| 150 | ] |
|---|
| 151 | [Update mode001 |
|---|
| 152 | Ian Lynagh <igloo@earth.li>**20090716000721 |
|---|
| 153 | The earlier of --help and --version now determines the behaviour |
|---|
| 154 | ] |
|---|
| 155 | [add utf8_bom codec |
|---|
| 156 | Simon Marlow <marlowsd@gmail.com>**20090715131505 |
|---|
| 157 | Ignore-this: 27a198bd9ed3112005c43551109acd58 |
|---|
| 158 | ] |
|---|
| 159 | [Test derived Foldable instance |
|---|
| 160 | m.niloc@gmail.com**20090711130821 |
|---|
| 161 | Ignore-this: 830f4b824bd469df0de947f32b4f9c1c |
|---|
| 162 | ] |
|---|
| 163 | [Add a test for #1074 |
|---|
| 164 | Ian Lynagh <igloo@earth.li>**20090711191937] |
|---|
| 165 | [Add a test for #1792 |
|---|
| 166 | Ian Lynagh <igloo@earth.li>**20090711191508] |
|---|
| 167 | [TFs: Added T2203b |
|---|
| 168 | Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090710064638 |
|---|
| 169 | Ignore-this: 8d0c3101f03a76b2fd13e1032aefeffe |
|---|
| 170 | ] |
|---|
| 171 | [TFs: fixed should_compile/Simple8 & wibbles |
|---|
| 172 | Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090710035536 |
|---|
| 173 | Ignore-this: 66b4c2ad6a5f594f2fd6fcf51be78d6a |
|---|
| 174 | ] |
|---|
| 175 | [T3016: skip_if_fast, and omit optc too. |
|---|
| 176 | Simon Marlow <marlowsd@gmail.com>**20090709144504 |
|---|
| 177 | Ignore-this: 26d695f84bf0393da3f1e1862140384f |
|---|
| 178 | ] |
|---|
| 179 | [disable T3016(profc), gcc takes ages |
|---|
| 180 | Simon Marlow <marlowsd@gmail.com>**20090709104147 |
|---|
| 181 | Ignore-this: 4accafb20b11f18bb389be86aa84a331 |
|---|
| 182 | ] |
|---|
| 183 | [Tests for unused imports |
|---|
| 184 | simonpj@microsoft.com**20090706111329 |
|---|
| 185 | Ignore-this: 477db02945a12e468d0adc9181ece35d |
|---|
| 186 | ] |
|---|
| 187 | [TFs: T2677 |
|---|
| 188 | Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090707054749 |
|---|
| 189 | Ignore-this: 8ca0fd55918fc3b5a7cd2b7407b7195a |
|---|
| 190 | ] |
|---|
| 191 | [Update cabal01 test for Cabal change |
|---|
| 192 | Ian Lynagh <igloo@earth.li>**20090705194639] |
|---|
| 193 | [Make changes to -fwarn-unused-do-bind and -fwarn-wrong-do-bind suggested by SPJ |
|---|
| 194 | Max Bolingbroke <batterseapower@hotmail.com>**20090702150957 |
|---|
| 195 | Ignore-this: a79f826df7152b7b5a253a05f90d4128 |
|---|
| 196 | ] |
|---|
| 197 | [Support for -fwarn-unused-do-bind and -fwarn-wrong-do-bind, as per #3263 |
|---|
| 198 | Max Bolingbroke <batterseapower@hotmail.com>**20090701200441 |
|---|
| 199 | Ignore-this: b762c27276c3e1e3aff614640f27903d |
|---|
| 200 | ] |
|---|
| 201 | [Test Trac #3342 |
|---|
| 202 | simonpj@microsoft.com**20090702124700 |
|---|
| 203 | Ignore-this: 3d47a4e0c60d0ad4db266869cdb74ec9 |
|---|
| 204 | ] |
|---|
| 205 | [Track error message change |
|---|
| 206 | simonpj@microsoft.com**20090702095512 |
|---|
| 207 | Ignore-this: 47db428ab8f9a6e2f0903fc84c1d547b |
|---|
| 208 | ] |
|---|
| 209 | [NonLinearSigErr is actually OK |
|---|
| 210 | simonpj@microsoft.com**20090702095452 |
|---|
| 211 | Ignore-this: ef3db790608ce2d9b4a26cbc450b93c1 |
|---|
| 212 | ] |
|---|
| 213 | [Track change in record syntax for GADTs |
|---|
| 214 | simonpj@microsoft.com**20090702095341 |
|---|
| 215 | Ignore-this: f566b1130a4dff0a81d92a262d794d |
|---|
| 216 | ] |
|---|
| 217 | [TFs: nullary families are ok |
|---|
| 218 | Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20090702093629 |
|---|
| 219 | Ignore-this: ef5783432881e51f4f88b806aaacc1cf |
|---|
| 220 | ] |
|---|
| 221 | [add readwrite003 (from bug #679) |
|---|
| 222 | Simon Marlow <marlowsd@gmail.com>**20090701104449 |
|---|
| 223 | Ignore-this: 657cea9c9506a5f961877cdb77313ab7 |
|---|
| 224 | ] |
|---|
| 225 | [Remove hacky GCC setting |
|---|
| 226 | Simon Marlow <marlowsd@gmail.com>**20090626140827 |
|---|
| 227 | Ignore-this: 698a64c4f09be46340d04aeb0f9be8d |
|---|
| 228 | It isn't necessary now that Cabal can find gcc in the new layout, and |
|---|
| 229 | it was taking a long time (2.5s on Windows every time you start up |
|---|
| 230 | make in the testsuite) |
|---|
| 231 | ] |
|---|
| 232 | [accept output after fixes to FFI declaration pretty-printing |
|---|
| 233 | Simon Marlow <marlowsd@gmail.com>**20090626103342 |
|---|
| 234 | Ignore-this: 34d49ce46f4fac185e110ae6c27e8c35 |
|---|
| 235 | ] |
|---|
| 236 | [add test for #3319 |
|---|
| 237 | Simon Marlow <marlowsd@gmail.com>**20090626103159 |
|---|
| 238 | Ignore-this: 7b77c0bb4137b9174e76c6c5aa9a9bd4 |
|---|
| 239 | ] |
|---|
| 240 | [TAG 2009-06-25 |
|---|
| 241 | Ian Lynagh <igloo@earth.li>**20090625160429] |
|---|
| 242 | Patch bundle hash: |
|---|
| 243 | 1cfad4ff81d81c1b41d66dde3247d9f62b60393f |
|---|