| 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 |
| 10 |
|
| 11 |
|
| 12 |
#ifndef HEADER |
| 13 |
#define HEADER |
| 14 |
|
| 15 |
void use(int); |
| 16 |
|
| 17 |
void test(int a) |
| 18 |
{ |
| 19 |
} |
| 20 |
|
| 21 |
#endif |