Home | History | Annotate | Download | only in Headers
      1 // REQUIRES: powerpc-registered-target
      2 // 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
      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: .text
     12 // CHECK-NEXT: .file
     13 // CHECK-NEXT: {{^$}}
     14 // CHECK-NEXT: .ident{{.*$}}
     15 // CHECK-NOT: .
     16