mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This makes the main skip-function-bodies.swift test easier to maintain because there are fewer `RUN:` lines to wade through in the output. The early `RUN:` lines that redirect stderr to stdout were also making iterative debugging very painful.
9 lines
796 B
Swift
9 lines
796 B
Swift
// RUN: not %target-swift-frontend -emit-ir %s -experimental-skip-non-inlinable-function-bodies %s 2>&1 | %FileCheck %s
|
|
// RUN: not %target-swift-frontend -c %s -experimental-skip-non-inlinable-function-bodies %s 2>&1 | %FileCheck %s
|
|
// RUN: not %target-swift-frontend -emit-ir %s -experimental-skip-non-inlinable-function-bodies-without-types %s 2>&1 | %FileCheck %s
|
|
// RUN: not %target-swift-frontend -c %s -experimental-skip-non-inlinable-function-bodies-without-types %s 2>&1 | %FileCheck %s
|
|
// RUN: not %target-swift-frontend -emit-ir %s -experimental-skip-all-function-bodies %s 2>&1 | %FileCheck %s
|
|
// RUN: not %target-swift-frontend -c %s -experimental-skip-all-function-bodies %s 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: the -experimental-skip-*-function-bodies* flags do not support emitting IR
|