Files
swift-mirror/test/Parse/structure_overflow.swift

16 lines
829 B
Swift

// RUN: not %target-swift-frontend -typecheck %s 2>&1 | %FileCheck %s
// level 512.
// CHECK: :[[@LINE+1]]:256: error: structure nesting level exceeded maximum of 256
[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[({[(
;blah blah blah
// Note: extra newlines below ensure that context printing doesn't show the
// lines that we shouldn't see.
// CHECK-NOT: ';'