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
This commit is contained in:
Duncan Sands 2007-04-16 18:49:21 +00:00
parent bed2946a96
commit 6937c9ae6f

View File

@ -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;