[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Driver / flegacy-pass-manager.c
blob88f6417b165bcf23f2036422888cf9d2bfdc4a44
1 /// -fno-legacy-pass-manager and -fexperimental-new-pass-manager are retained
2 // as no-ops. The inverted options are no longer supported.
4 // RUN: %clang -### -c -fno-legacy-pass-manager %s 2>&1 | FileCheck %s
5 // RUN: not %clang -### -flegacy-pass-manager %s
7 // RUN: %clang -### -c -fexperimental-new-pass-manager %s 2>&1 | FileCheck %s
8 // RUN: not %clang -### -fno-experimental-new-pass-manager %s
10 // Just check that there is no argument unused warning. There is no need to
11 // pass any cc1 options.
13 // CHECK-NOT: warning: argument unused