Files
swift-mirror/test/NameLookup/scope_map_lookup_extension_extension.swift
2024-02-19 02:48:36 -10:00

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