Files
swift-mirror/test/ModuleInterface/smoke-test.swift
Jordan Rose e8e0584785 Hook up -emit-interface-path to a simple AST printer
We'll want more complexity soon, but this is a start.
2018-08-01 14:34:29 -07:00

9 lines
454 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-MULTI-FILE %s
// CHECK: public func verySimpleFunction(){{$}}
// CHECK-MULTI-FILE: public func verySimpleFunction(){{$}}
public func verySimpleFunction() {}
// CHECK-MULTI-FILE: public func otherFileFunction(){{$}}