From 3d11a3061a85190063f68f018b4865ba6cdad1c9 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Wed, 3 Jul 2013 18:21:12 +0000 Subject: [PATCH] Provide test case for commit r185544. Verify that assembling an empty file does not auto-include altivec.h. llvm-svn: 185563 --- clang/test/Driver/altivec-asm.S | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 clang/test/Driver/altivec-asm.S diff --git a/clang/test/Driver/altivec-asm.S b/clang/test/Driver/altivec-asm.S new file mode 100644 index 0000000..4143d52 --- /dev/null +++ b/clang/test/Driver/altivec-asm.S @@ -0,0 +1,3 @@ +// RUN: %clang -target powerpc64-linux-gnu -maltivec -S %s -o - | FileCheck %s +// Verify that assembling an empty file does not auto-include altivec.h. +// CHECK-NOT: static vector -- 2.7.4