mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
18 lines
735 B
Swift
18 lines
735 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -o %t %S/../Inputs/empty.swift
|
|
// RUN: %target-swift-frontend -typecheck -I %t %s
|
|
|
|
// RUN: touch %t/empty.swiftdoc
|
|
// RUN: %target-swift-frontend -typecheck -I %t %s -verify -show-diagnostics-after-fatal
|
|
|
|
// RUN: echo -n 'a' > %t/empty.swiftdoc
|
|
// RUN: %target-swift-frontend -typecheck -I %t %s -verify -show-diagnostics-after-fatal
|
|
|
|
// RUN: echo -n 'abcd' > %t/empty.swiftdoc
|
|
// RUN: %target-swift-frontend -typecheck -I %t %s -verify -show-diagnostics-after-fatal
|
|
|
|
// RUN: echo -n 'abcde' > %t/empty.swiftdoc
|
|
// RUN: %target-swift-frontend -typecheck -I %t %s -verify -show-diagnostics-after-fatal
|
|
|
|
import empty // expected-error{{malformed compiled module}}
|