projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fabfde3
)
Test handling of records for which the fields are
author
Duncan Sands
<baldrick@free.fr>
Thu, 3 Jan 2008 00:17:02 +0000
(
00:17
+0000)
committer
Duncan Sands
<baldrick@free.fr>
Thu, 3 Jan 2008 00:17:02 +0000
(
00:17
+0000)
not ordered by offset.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45520
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/FrontendAda/field_order.ads
[new file with mode: 0644]
patch
|
blob
diff --git a/test/FrontendAda/field_order.ads
b/test/FrontendAda/field_order.ads
new file mode 100644
(file)
index 0000000..
b49185d
--- /dev/null
+++ b/
test/FrontendAda/field_order.ads
@@ -0,0
+1,7
@@
+-- RUN: %llvmgcc -c %s
+package Field_Order is
+ type Tagged_Type is abstract tagged null record;
+ type With_Discriminant (L : Positive) is new Tagged_Type with record
+ S : String (1 .. L);
+ end record;
+end;