mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
And test this by tweaking the rules to allow functions without definitions, like SIL files.
11 lines
454 B
Plaintext
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()
|