blob: 3423aa2caee82a5160575d38d72a978890036837 [file] [log] [blame]
// 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'