mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 20:27:42 +00:00
Testcase for debug info emission for structure fields at variable offsets.
llvm-svn: 36147
This commit is contained in:
parent
f3e62a428a
commit
1f61b7273e
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