forked from OSchip/llvm-project
Testcase for debug info emission for structure fields at variable offsets.
llvm-svn: 36147
This commit is contained in:
parent
fb80151c42
commit
d16d149262
|
@ -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;
|
Loading…
Reference in New Issue