mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
A parse-only option is needed for parse performance tracking and the current option also includes semantic analysis.
9 lines
267 B
Swift
9 lines
267 B
Swift
// RUN: rm -rf %t && mkdir -p %t
|
|
// RUN: cp %s %t/main.swift
|
|
// RUN: not %target-swift-frontend -typecheck -playground %t/main.swift 2>&1 | %FileCheck %s
|
|
|
|
// CHECK: error: no such module
|
|
import Nonexistent_Module
|
|
// CHECK-NOT: error
|
|
import Another_Nonexistent_Module
|