blob: b01cc9716d76160e499df80c93d25d9291e4c789 [file] [log] [blame]
Michael Gottesman724e65b2012-10-31 20:20:04 +00001// REQUIRES: ppc64-registered-target
Hans Wennborg4ed47cc2013-08-02 20:16:22 +00002// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s
3// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s
4// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -x c++ -S -o - %s | FileCheck %s
Ulrich Weigand60c158a2012-10-31 18:17:07 +00005
6#include <altivec.h>
7
8// Verify that simply including <altivec.h> does not generate any code
9// (i.e. all inline routines in the header are marked "static")
10
11// CHECK-NOT: .text
12