mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The code goes into its own sub-tree under 'tools' but tests go under 'test', so that running 'check-swift' will also run all the SourceKit tests. SourceKit is disabled on non-darwin platforms.
8 lines
164 B
Swift
8 lines
164 B
Swift
var $blah = 0
|
|
|
|
var x = 0
|
|
x
|
|
|
|
// RUN: %sourcekitd-test -req=sema %s -- %s -Xfrontend -playground | %sed_clean > %t1.response
|
|
// RUN: diff -u %s.response %t1.response
|