Files
swift-mirror/test/ModuleInterface/smoke-test.swift
Harlan Haskins d3b8ce7ae2 [test] Update ParseableInterface to ModuleInterface
Also remove uses of -emit-parseable-module-interface from tests
2019-09-13 14:55:48 -07:00

11 lines
518 B
Swift

// RUN: %target-swift-frontend -typecheck -emit-module-interface-path - %s | %FileCheck %s
// RUN: %target-swift-frontend -typecheck -emit-module-interface-path - %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 Swift.AnyObject){{$}}
public func ownership(_ x: __shared AnyObject) {}
// CHECK-MULTI-FILE: public func otherFileFunction(){{$}}