mirror of
https://github.com/apple/swift.git
synced 2026-10-06 12:37:28 +02:00
The opaque values test coverage I initially added will emit to stdout, which is noisy for people's logs if the test is failing for some other reason.
9 lines
517 B
Swift
9 lines
517 B
Swift
// RUN: %target-swift-frontend -emit-silgen-ossa -o /dev/null -sil-verify-all -enable-sil-opaque-values %S/Inputs/enum_debuginfo_other.swift -primary-file %s -module-name enum_debuginfo -g -Xllvm -sil-print-debuginfo
|
|
// RUN: %target-swift-frontend -emit-silgen %S/Inputs/enum_debuginfo_other.swift -primary-file %s -module-name enum_debuginfo -g -Xllvm -sil-print-debuginfo | %FileCheck %s
|
|
|
|
public func makeEnum() -> MyEnum {
|
|
return .hasPayload(argument: 123)
|
|
}
|
|
|
|
// CHECK-NOT: enum_debuginfo_other.swift":{{[0-9]}}
|