]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185563 91177308-0d34-0410-b5e6-96231b3b80d8

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

diff --git a/test/Driver/altivec-asm.S b/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