mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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]}}
|