17 lines · plain
1! Make sure that frontend driver options that require arguments are2! correctly rejected when the argument value is missing.3 4!-----------5! RUN lines6!-----------7! RUN: not %flang_fc1 -E %s -o 2>&1 | FileCheck %s8! RUN: not %flang_fc1 -E %s -U 2>&1 | FileCheck %s9! RUN: not %flang_fc1 -E %s -D 2>&1 | FileCheck %s10! RUN: not %flang_fc1 -E %s -I 2>&1 | FileCheck %s11! RUN: not %flang_fc1 -E %s -J 2>&1 | FileCheck %s12! RUN: not %flang_fc1 -E %s -module-dir 2>&1 | FileCheck %s13! RUN: not %flang_fc1 -E %s -module-suffix 2>&1 | FileCheck %s14! RUN: not %flang_fc1 -E %s -fintrinsic-modules-path 2>&1 | FileCheck %s15 16! CHECK: error: argument to '-{{.*}}' is missing (expected 1 value)17