Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / sanitizer_common / TestCases / options-invalid.cpp
blob572c4912cfd9f56b71d0578d20b54c5058880d68
1 // RUN: %clangxx -O0 %s -o %t
2 // RUN: %env_tool_opts=invalid_option_name=10,verbosity=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-V1
3 // RUN: %env_tool_opts=invalid_option_name=10 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-V0
5 #include <stdio.h>
7 int main() {
8 fprintf(stderr, "done\n");
11 // CHECK-V1: WARNING: found 1 unrecognized
12 // CHECK-V1: invalid_option_name
13 // CHECK-V0-NOT: WARNING: found 1 unrecognized
14 // CHECK-V0-NOT: invalid_option_name
15 // CHECK: done