[llvm-commits] CVS: llvm/test/FrontendAda/debug_var_size.ads
Duncan Sands
baldrick at free.fr
Mon Apr 16 11:49:42 PDT 2007
Changes in directory llvm/test/FrontendAda:
debug_var_size.ads added (r1.1)
---
Log message:
Testcase for debug info emission for structure fields at variable offsets.
---
Diffs of the changes: (+8 -0)
debug_var_size.ads | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/test/FrontendAda/debug_var_size.ads
diff -c /dev/null llvm/test/FrontendAda/debug_var_size.ads:1.1
*** /dev/null Mon Apr 16 13:49:31 2007
--- llvm/test/FrontendAda/debug_var_size.ads Mon Apr 16 13:49:21 2007
***************
*** 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;
More information about the llvm-commits
mailing list