[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Headers / htm-header.c
blob35a14983bee6fc022b097dfd40dbfce623c25118
1 // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTM_HEADER -ffreestanding -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTM_HEADER -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTMXL_HEADER -ffreestanding -emit-llvm -o - %s | FileCheck %s
4 // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTMXL_HEADER -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s
6 #ifdef HTM_HEADER
7 #include <htmintrin.h>
8 #endif
10 #ifdef HTMXL_HEADER
11 #include <htmxlintrin.h>
12 #endif
14 // Verify that simply including the headers does not generate any code
15 // (i.e. all inline routines in the header are marked "static")
17 // CHECK: target triple = "powerpc64
18 // CHECK-NEXT: {{^$}}
19 // CHECK-NEXT: {{llvm\..*}}