// RUN: not %swift %s -parse
// RUN: not %swift -parse-stdlib %s -parse

// Just don't crash when accidentally importing "Swift" instead of "swift".

import Swift

print("hi")
Swift.print("hi")

Add a test that we don't crash when someone imports "Swift" instead of "swift".
Add a test that we don't crash when someone imports "Swift" instead of "swift".

We still get things pretty wrong when the wrong module is found because
of a case-insensitive filesystem, but we can deal with that later.

<rdar://problem/15632996>

Swift SVN r12608
