Files
swift-mirror/test/ModuleInterface/SmokeTest.swiftinterface
Jordan Rose d9e47650d5 Add a new SourceFileKind and InputFileKind for textual interfaces
And test this by tweaking the rules to allow functions without
definitions, like SIL files.
2018-08-07 08:55:07 -07:00

11 lines
454 B
Plaintext

// Make sure parse-only works...
// RUN: %target-swift-frontend -parse %s
// ...and then make sure parse-and-typecheck-and-serialize works.
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module -o %t/SmokeTest.swiftmodule %s
// RUN: %target-swift-ide-test -print-module -module-to-print SmokeTest -I %t -source-filename x -print-access | %FileCheck %s
// CHECK: public func verySimpleFunction(){{$}}
public func verySimpleFunction()