mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
cb51c1ba10
Tweak this test to only look for debug info references to the filename, not *any* reference to the filename.
8 lines
300 B
Swift
8 lines
300 B
Swift
// 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]}}
|