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