mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
665 B
Swift
13 lines
665 B
Swift
// RUN: chmod a+rx %t/bad 2>/dev/null || true
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %empty-directory(%t/good)
|
|
// RUN: %empty-directory(%t/bad)
|
|
// RUN: chmod a-rx %t/bad
|
|
// RUN: %target-swift-frontend -emit-module -o %t/good %S/../Inputs/empty.swift
|
|
// RUN: not %target-swift-frontend %s -typecheck -I %t/bad -I %t/good -show-diagnostics-after-fatal 2>&1 | %FileCheck %s
|
|
// RUN: not %target-swift-frontend %s -typecheck -I %t/good -I %t/bad -show-diagnostics-after-fatal 2>&1 | %FileCheck %s
|
|
// RUN: chmod a+rx %t/bad
|
|
|
|
import empty // CHECK-NOT: empty
|
|
import ThisOneReallyDoesNotExist // CHECK: [[@LINE]]:{{[0-9]+}}: error: no such module 'ThisOneReallyDoesNotExist'
|