1! RUN: not %flang-new %s 2>&1 | FileCheck %s --check-prefix=ERROR 2! RUN: not %flang-new -emit-obj %s 2>&1 | FileCheck %s --check-prefix=ERROR 3! RUN: not %flang-new -fc1 -emit-obj %s 2>&1 | FileCheck %s --check-prefix=ERROR-FC1 4 5! REQUIRES: new-flang-driver 6 7! By default (e.g. when no options like `-E` are passed) flang-new 8! creates a job that corresponds to `-emit-obj`. This option/action is 9! not yet supported. Verify that this is correctly reported as error. 10 11! ERROR: error: unknown argument: '-triple' 12! ERROR: error: unknown argument: '-emit-obj' 13 14! ERROR-FC1: error: unknown argument: '-emit-obj' 15