1*0a6a1f1dSLionel Sambuc // REQUIRES: powerpc-registered-target 2f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s 3f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s 4f4a2713aSLionel Sambuc // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -x c++ -S -o - %s | FileCheck %s 5f4a2713aSLionel Sambuc 6f4a2713aSLionel Sambuc #include <altivec.h> 7f4a2713aSLionel Sambuc 8f4a2713aSLionel Sambuc // Verify that simply including <altivec.h> does not generate any code 9f4a2713aSLionel Sambuc // (i.e. all inline routines in the header are marked "static") 10f4a2713aSLionel Sambuc 11*0a6a1f1dSLionel Sambuc // CHECK: .text 12*0a6a1f1dSLionel Sambuc // CHECK-NEXT: .file 13*0a6a1f1dSLionel Sambuc // CHECK-NEXT: {{^$}} 14*0a6a1f1dSLionel Sambuc // CHECK-NEXT: .ident{{.*$}} 15*0a6a1f1dSLionel Sambuc // CHECK-NEXT: .section ".note.GNU-stack","",@progbits 16*0a6a1f1dSLionel Sambuc // CHECK-NOT: . 17