1*edd4398fSMitch Phillips // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -o - %s | FileCheck %s 2c624510fSRichard Smith // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -flax-vector-conversions=none -o - %s | FileCheck %s 3758aad76SEric Christopher // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s 49936f137SUlrich Weigand 59936f137SUlrich Weigand #include <altivec.h> 69936f137SUlrich Weigand 79936f137SUlrich Weigand // Verify that simply including <altivec.h> does not generate any code 89936f137SUlrich Weigand // (i.e. all inline routines in the header are marked "static") 99936f137SUlrich Weigand 10c168ef4bSEric Christopher // CHECK: target triple = "powerpc64- 111368f8acSRafael Espindola // CHECK-NEXT: {{^$}} 128497ef40SNirav Dave // CHECK-NEXT: {{llvm\..*}} 13