Files
swift-mirror/test/Frontend/no-arguments.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

9 lines
480 B
Swift

// RUN: not %swift 2>&1 | %FileCheck %s -check-prefix=CHECK1
// RUN: not %swift %s 2>&1 | %FileCheck %s -check-prefix=CHECK1
// RUN: not %swift -typecheck 2>&1 | %FileCheck %s -check-prefix=CHECK2
// RUN: not %swift -emit-sil 2>&1 | %FileCheck %s -check-prefix=CHECK2
// RUN: not %swift -emit-object 2>&1 | %FileCheck %s -check-prefix=CHECK2
// CHECK1: <unknown>:0: error: no frontend action was selected
// CHECK2: <unknown>:0: error: this mode requires at least one input file