Provide test case for commit r185544.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 3 Jul 2013 18:21:12 +0000 (18:21 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 3 Jul 2013 18:21:12 +0000 (18:21 +0000)
Verify that assembling an empty file does not auto-include altivec.h.

llvm-svn: 185563

clang/test/Driver/altivec-asm.S [new file with mode: 0644]

diff --git a/clang/test/Driver/altivec-asm.S b/clang/test/Driver/altivec-asm.S
new file mode 100644 (file)
index 0000000..4143d52
--- /dev/null
@@ -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