mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
544 B
Swift
14 lines
544 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %gyb %s -o %t/line-directive-crlf.swift
|
|
// RUN: %target-swift-frontend -typecheck -parse-as-library -verify %t/line-directive-crlf.swift
|
|
|
|
// https://github.com/apple/swift/issues/57553
|
|
func I57553() {
|
|
% print("#sourceLocation(file: \"issue-57553.swift\", line: 100)\r\n")
|
|
% print("#sourceLocation()\r\n")
|
|
% print("#sourceLocation(file: \"issue-57553.swift\", line: 200)\r")
|
|
% print("#sourceLocation()\r")
|
|
% print("#sourceLocation(file: \"issue-57553.swift\", line: 300)\n")
|
|
% print("#sourceLocation()\n")
|
|
}
|