| // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py |
| // Check that the non-clang/non-filechecked runlines execute |
| // RUN: cp %s %S/Output/execute-all-runlines.copy.c |
| // RUN: cp %S/Output/execute-all-runlines.copy.c %s.copy.c |
| // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp %s.copy.c -emit-llvm-bc -o %t-host.bc |
| // 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 |
| |
| void use(int); |
| |
| // CHECK-LABEL: @test( |
| // CHECK-NEXT: entry: |
| // CHECK-NEXT: [[A_ADDR:%.*]] = alloca i32, align 4 |
| // CHECK-NEXT: store i32 [[A:%.*]], i32* [[A_ADDR]], align 4 |
| // CHECK-NEXT: ret void |
| // |
| void test(int a) |
| { |
| } |