mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The type printer was being optimistic about these, but that's a problem for testing textual interfaces right now.
11 lines
528 B
Swift
11 lines
528 B
Swift
// RUN: %target-swift-frontend -emit-interface-path - -emit-module -o /dev/null %s | %FileCheck %s
|
|
// RUN: %target-swift-frontend -emit-interface-path - -emit-module -o /dev/null %s %S/Inputs/other.swift | %FileCheck -check-prefix CHECK -check-prefix CHECK-MULTI-FILE %s
|
|
|
|
// CHECK: public func verySimpleFunction(){{$}}
|
|
public func verySimpleFunction() {}
|
|
|
|
// CHECK: public func ownership(_ x: __shared AnyObject){{$}}
|
|
public func ownership(_ x: __shared AnyObject) {}
|
|
|
|
// CHECK-MULTI-FILE: public func otherFileFunction(){{$}}
|