Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / utils / update_cc_test_checks / Inputs / exec-all-runlines.c
blob751568adc281f81d2a8a77e7791c7530ec38716d
1 // Check that the non-clang/non-filechecked runlines execute
2 // RUN: cp %s %S/../Output/execute-all-runlines.copy.c
3 // RUN: cp %S/../Output/execute-all-runlines.copy.c %s.copy.c
4 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp %s.copy.c -emit-llvm-bc -o %t-host.bc
5 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp -fopenmp-host-ir-file-path %t-host.bc %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK1
6 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-pch %s -o %t
7 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -include-pch %t %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK2
8 // RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -emit-pch %s -o %t
9 // RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -include-pch %t %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK3
12 #ifndef HEADER
13 #define HEADER
15 void use(int);
17 void test(int a)
21 #endif