blob: 085e799f9599040104cf734133b681d1866c8b39 [file] [log] [blame]
Michael Gottesman724e65b2012-10-31 20:20:04 +00001// REQUIRES: ppc64-registered-target
Ulrich Weigand60c158a2012-10-31 18:17:07 +00002// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -maltivec -ffreestanding -S -o - %s | FileCheck %s
3// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -maltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s
4// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -maltivec -ffreestanding -x c++ -S -o - %s | FileCheck %s
5
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