Test case for r96656.
authorDevang Patel <dpatel@apple.com>
Fri, 19 Feb 2010 02:58:33 +0000 (02:58 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 19 Feb 2010 02:58:33 +0000 (02:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96657 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2010-02-18-Dbg-VectorType.c [new file with mode: 0644]

diff --git a/test/FrontendC/2010-02-18-Dbg-VectorType.c b/test/FrontendC/2010-02-18-Dbg-VectorType.c
new file mode 100644 (file)
index 0000000..d34031f
--- /dev/null
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc -S -O0 -g %s -o - | grep DW_TAG_typedef | grep float4
+typedef float float4 __attribute__((vector_size(16)));
+
+int main(){
+  volatile float4 x = (float4) { 0.0f, 1.0f, 2.0f, 3.0f };
+  x += x;
+  return 0;
+}
+