summaryrefslogtreecommitdiffstats
path: root/test/Driver/altivec-asm.S
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/altivec-asm.S')
-rw-r--r--test/Driver/altivec-asm.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Driver/altivec-asm.S b/test/Driver/altivec-asm.S
new file mode 100644
index 0000000..4143d52
--- /dev/null
+++ b/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
OpenPOWER on IntegriCloud