Files
swift-mirror/test/ModuleInterface/ModuleCache/WrongName.swiftinterface
Harlan Haskins d3b8ce7ae2 [test] Update ParseableInterface to ModuleInterface
Also remove uses of -emit-parseable-module-interface from tests
2019-09-13 14:55:48 -07:00

8 lines
326 B
Plaintext

// swift-interface-format-version: 1.0
// swift-module-flags: -module-name DreadPirateRoberts
// RUN: %empty-directory(%t)
// RUN: echo 'import WrongName' | not %target-swift-frontend -typecheck -module-cache-path %t -I %S - 2>&1 | %FileCheck %s
// CHECK: :1:8: error: cannot load module 'DreadPirateRoberts' as 'WrongName'