From c72c57c9e9b69944e3e009cd5e209634839581d3 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 8 Apr 2013 18:45:10 +0000 Subject: Vendor import of clang trunk r178860: http://llvm.org/svn/llvm-project/cfe/trunk@178860 --- test/CodeGen/debug-info-vector.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/debug-info-vector.c (limited to 'test/CodeGen/debug-info-vector.c') diff --git a/test/CodeGen/debug-info-vector.c b/test/CodeGen/debug-info-vector.c new file mode 100644 index 0000000..b7135af --- /dev/null +++ b/test/CodeGen/debug-info-vector.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s +typedef int v4si __attribute__((__vector_size__(16))); + +v4si a; + +// Test that we get an array type that's also a vector out of debug. +// CHECK: [ DW_TAG_array_type ] [line 0, size 128, align 128, offset 0] [vector] [from int] -- cgit v1.1