[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Headers / altivec-header.c
blob00e5f444de7cc2dafb831a7f438c6373b74da881
1 // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -flax-vector-conversions=none -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s
5 #include <altivec.h>
7 // Verify that simply including <altivec.h> does not generate any code
8 // (i.e. all inline routines in the header are marked "static")
10 // CHECK: target triple = "powerpc64-
11 // CHECK-NEXT: {{^$}}
12 // CHECK-NEXT: {{llvm\..*}}