From 6937c9ae6f7067945b921454301232fae04412be Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 16 Apr 2007 18:49:21 +0000 Subject: [PATCH] Testcase for debug info emission for structure fields at variable offsets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36147 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendAda/debug_var_size.ads | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/FrontendAda/debug_var_size.ads diff --git a/test/FrontendAda/debug_var_size.ads b/test/FrontendAda/debug_var_size.ads new file mode 100644 index 00000000000..818071d1109 --- /dev/null +++ b/test/FrontendAda/debug_var_size.ads @@ -0,0 +1,8 @@ +-- RUN: %llvmgcc -c -g %s -o /dev/null +package Debug_Var_Size is + subtype Length_Type is Positive range 1 .. 64; + type T (Length : Length_Type := 1) is record + Varying_Length : String (1 .. Length); + Fixed_Length : Boolean; + end record; +end;