1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
|
// RUN: %target-typecheck-verify-swift -requirement-machine-max-rule-count=20000
// This test case used to blow up the GSB due to exponential behavior.
protocol P0: Codable {
associatedtype A1: P72
associatedtype A2: P69
associatedtype A3: P74
associatedtype A4: P76
associatedtype A5: P77
associatedtype A6: P71
associatedtype A7: P70
associatedtype A8: P82
associatedtype A9: P68
associatedtype A10: P81
associatedtype A11: P79
}
protocol P1: Codable {
associatedtype A1: P72
associatedtype A2: P69
associatedtype A3: P74
associatedtype A4: P76
associatedtype A5: P77
associatedtype A6: P71
associatedtype A7: P70
associatedtype A8: P82
associatedtype A10: P81
associatedtype A12: P73
}
protocol P3: Codable {}
protocol P4: Codable {
associatedtype A13: P5
}
protocol P5: Codable {
associatedtype A14: P6
}
protocol P6: Codable {
associatedtype A15: P7
}
protocol P7: Codable {
}
protocol P8: Codable {
associatedtype A16: P66
}
protocol P9: Codable {
associatedtype A17: P10
associatedtype A18: P11
associatedtype A19: P12
associatedtype A20: P13
associatedtype A21: P14
associatedtype A22: P15
associatedtype A23: P16
associatedtype A24: P17
associatedtype A25: P18
associatedtype A26: P19
associatedtype A27: P20
}
protocol P10: Codable {
associatedtype A28: P67
}
protocol P11: Codable {
}
protocol P12: Codable {
}
protocol P13: Codable {
}
protocol P14: Codable {
}
protocol P15: Codable {
associatedtype A29: P67
}
protocol P16: Codable {
associatedtype A30: P36
}
protocol P17: Codable {
}
protocol P18: Codable {
}
protocol P19: Codable {
}
protocol P20: Codable {
associatedtype A31: P40
}
protocol P21: Codable {
associatedtype A32: P26
associatedtype A33: P29
}
protocol P22: Codable {
associatedtype A34: P32
associatedtype A35: P31
}
protocol P23: Codable {
associatedtype A36: P45
associatedtype A37: P44
associatedtype A38: P43
associatedtype A39: P56
associatedtype A40: P42
associatedtype A29: P55
associatedtype A41: P41
associatedtype A42: P53
associatedtype A43: P51
associatedtype A44: P54
}
protocol P24: P90 {
associatedtype A1: P72
associatedtype A2: P69
associatedtype A3: P74
associatedtype A4: P76
associatedtype A5: P77
associatedtype A6: P71
}
protocol P25: P8 {
associatedtype A45: P3
}
protocol P26: Codable {
}
protocol P27: P8 {
associatedtype A45: P3
}
protocol P28: P8 {
}
protocol P29: Codable {
associatedtype A46: P30
}
protocol P30: Codable {
}
protocol P31: Codable {
associatedtype A34: P32
associatedtype A47: P28
associatedtype A48: P27
}
protocol P32: P8 {
associatedtype A45: P3
}
protocol P33: Codable {
associatedtype A49: P67
associatedtype A50: P67
}
protocol P34: Codable {
}
protocol P35: Codable {
}
protocol P36: Codable {
}
protocol P37: Codable {
associatedtype A51: P38
associatedtype A52: P39
associatedtype A53: P34
associatedtype A54: P35
associatedtype A55: P33
}
protocol P38: Codable {
}
protocol P39: Codable {
}
protocol P40: Codable {
}
protocol P41: P8 {
}
protocol P42: P8 {
}
protocol P43: Codable {
}
protocol P44: P8 {
}
protocol P45: Codable {
associatedtype A56: P58
associatedtype A57: P58
associatedtype A58: P59
}
protocol P46: P8 {
}
protocol P47: Codable {
}
protocol P48: Codable {
}
protocol P49: Codable {
associatedtype A45: P3
}
protocol P50: Codable {
}
protocol P51: P8 {
}
protocol P52: P8 {
}
protocol P53: P8 {
}
protocol P54: Codable {
}
protocol P55: P8 {
}
protocol P56: P8 {
}
protocol P57: P8 {
}
protocol P58: P8 {
}
protocol P59: Codable {
}
protocol P60: P84, P85, P86 {
associatedtype A59: P65
}
protocol P61: P84, P86, P85 {
associatedtype A59: P65
}
protocol P62: Codable {
}
protocol P63: Codable {
associatedtype A60: P64
}
protocol P64: Codable {
}
protocol P65: Codable {
associatedtype A61: P62
associatedtype A62: P62
}
protocol P66: Codable {
associatedtype A61: P62
associatedtype A62: P62
associatedtype A63: P63
}
protocol P67: Codable {
}
protocol P68: P88 {
associatedtype A64: P80
}
protocol P69: P87, P21, P91, P4, P22, P85, P37, P0 {
associatedtype A65: P60
}
protocol P70: P88, P21, P85, P37, P0 {
associatedtype A66: P57
}
protocol P71: P83 {
associatedtype A1: P72
associatedtype A2: P69
associatedtype A4: P76
associatedtype A5: P77
associatedtype A7: P70
associatedtype A8: P82
associatedtype A10: P81
}
protocol P72: P88, P21, P91, P22, P85, P1, P37, P4 {
associatedtype A9: P68
associatedtype A11: P79
associatedtype A65: P60
}
protocol P73: P0, P37, P4 {
}
protocol P74: P88, P21, P86, P85, P4, P37, P0 {
associatedtype A67: P75
}
protocol P75: P23, P22 {
associatedtype A68: P61
}
protocol P76: P88, P21, P91, P22, P85, P37, P4, P0 {
associatedtype A69: P61
}
protocol P77: P88, P21, P91, P22, P85, P1, P37, P4 {
associatedtype A9: P68
associatedtype A11: P79
associatedtype A70: P78
}
protocol P78: Codable {
associatedtype A69: P61
}
protocol P79: P1, P83 {
}
protocol P80: Codable {
}
protocol P81: P88, P23, P37, P22, P4, P8, P0 {
associatedtype A64: P80
}
protocol P82: P88, P21, P23, P37, P22, P8, P0 {
}
protocol P83: Codable {
}
protocol P84: Codable {
associatedtype A71: P48
associatedtype A72: P50
associatedtype A73: P47
associatedtype A74: P46
associatedtype A75: P49
}
protocol P85: Codable {
associatedtype A76: P25
}
protocol P86: Codable {
associatedtype A66: P57
associatedtype A77: P52
}
protocol P87: P83 {
}
protocol P88: P83 {
}
protocol P89: P90 {
}
protocol P90: Codable {
associatedtype A78: P89
associatedtype A79: P9
}
protocol P91: P86, P23 {
}
|