mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
347 B
Swift
14 lines
347 B
Swift
// Ensure scope construction does not crash on this illegal code
|
|
// RUN: not %target-swift-frontend -typecheck %s 2> %t.errors
|
|
// RUN: %FileCheck %s <%t.errors
|
|
// CHECK-NOT: Program arguments:
|
|
|
|
// Note: extra newlines below ensure that context printing doesn't show the
|
|
// CHECK-NOT line.
|
|
|
|
|
|
|
|
|
|
private extension String {
|
|
private extension String
|