Files
swift-mirror/test/PlaygroundTransform/for_crash.swift
Chris Miles d287715778 Updated PlaygroundTransform tests to cover Swift 5 and 6.
PlaygroundTransform tests now compile test cases for both Swift language modes 5 and 6.
2024-11-07 11:26:59 -08:00

15 lines
483 B
Swift

// RUN: %empty-directory(%t)
// RUN: cp %s %t/main.swift
// -playground
// RUN: not %target-typecheck-verify-swift -swift-version 5 -playground %t/main.swift
// RUN: not %target-typecheck-verify-swift -swift-version 6 -playground %t/main.swift
// -pc-macro -playground
// RUN: not %target-typecheck-verify-swift -swift-version 5 -playground -pc-macro %t/main.swift
// RUN: not %target-typecheck-verify-swift -swift-version 6 -playground -pc-macro %t/main.swift
for x in y {
x
}