mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
19 lines
343 B
Swift
19 lines
343 B
Swift
// RUN: %sourcekitd-test -req=syntax-map %s | %sed_clean > %t.response
|
|
// RUN: %diff -u %s.response %t.response
|
|
|
|
let fn = #function
|
|
let f = #file
|
|
let l = #line
|
|
let c = #column
|
|
|
|
if #available(iOS 9.0, *) {}
|
|
|
|
#if false
|
|
#error("Error")
|
|
#elseif true
|
|
#warning("Warning")
|
|
#else
|
|
#sourceLocation(file: "here.swift", line:100)
|
|
#sourceLocation()
|
|
#endif
|