Files
swift-mirror/test/SILGen/enum_debuginfo.swift
Brent Royal-Gordon cb51c1ba10 [NFC] Tighten up test for #31743
Tweak this test to only look for debug info references to the filename, not *any* reference to the filename.
2020-07-13 14:05:13 -07:00

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]}}