// RUN: rm -rf %t && mkdir %t
// RUN: cp %s %t/main.swift
// RUN: not %swift -parse -playground %t/main.swift 2>&1 | FileCheck %s
// RUN: not %swift -parse -playground -debugger-support %t/main.swift 2>&1 | FileCheck %s

// CHECK: error: no such module
import Nonexistent_Module
// CHECK-NOT: error
import Another_Nonexistent_Module

// RUN: rm -rf %t && mkdir %t
// RUN: cp %s %t/main.swift
// RUN: not %swift -parse -playground %t/main.swift 2>&1 | FileCheck %s

// CHECK: error: no such module
import Nonexistent_Module
// CHECK-NOT: error
import Another_Nonexistent_Module

Fix test broken in r22030.
Fix test broken in r22030.

The special case for "debugger-but-not-playground" was a staging option for
Xcode's benefit, but then we had to fix Xcode anyway.

Swift SVN r22032
