brintos

brintos / llvm-project-archived public Read only

0
0
Text · 931 B · 751568a Raw
22 lines · c
1// Check that the non-clang/non-filechecked runlines execute2// RUN: cp %s %S/../Output/execute-all-runlines.copy.c3// RUN: cp %S/../Output/execute-all-runlines.copy.c %s.copy.c4// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp %s.copy.c -emit-llvm-bc -o %t-host.bc5// 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=CHECK16// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-pch %s -o %t7// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -include-pch %t %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK28// RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -emit-pch %s -o %t9// RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -include-pch %t %s.copy.c -emit-llvm -o - | FileCheck %s --check-prefix=CHECK310 11 12#ifndef HEADER13#define HEADER14 15void use(int);16 17void test(int a)18{19}20 21#endif22