From 7b9d6d2e5564fd668f5b1821686be06f44f72432 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 19 Feb 2010 02:58:33 +0000 Subject: [PATCH] Test case for r96656. 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 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/FrontendC/2010-02-18-Dbg-VectorType.c diff --git a/test/FrontendC/2010-02-18-Dbg-VectorType.c b/test/FrontendC/2010-02-18-Dbg-VectorType.c new file mode 100644 index 00000000000..d34031f09a1 --- /dev/null +++ b/test/FrontendC/2010-02-18-Dbg-VectorType.c @@ -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; +} +