mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
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:
parent
bed2946a96
commit
6937c9ae6f
8
test/FrontendAda/debug_var_size.ads
Normal file
8
test/FrontendAda/debug_var_size.ads
Normal 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;
|
Loading…
x
Reference in New Issue
Block a user