[llvm-commits] [hlvm] r38068 - /hlvm/trunk/test/xml2xml/resolve.hlx
Reid Spencer
reid at x10sys.com
Sat Jul 7 16:59:32 PDT 2007
Author: reid
Date: Sat Jul 7 18:59:32 2007
New Revision: 38068
URL: http://llvm.org/viewvc/llvm-project?rev=38068&view=rev
Log:
Add a test case for type resolution. This just uses types before declaring them
and depends on the type resolver to figure it out.
Added:
hlvm/trunk/test/xml2xml/resolve.hlx
Added: hlvm/trunk/test/xml2xml/resolve.hlx
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/test/xml2xml/resolve.hlx?rev=38068&view=auto
==============================================================================
--- hlvm/trunk/test/xml2xml/resolve.hlx (added)
+++ hlvm/trunk/test/xml2xml/resolve.hlx Sat Jul 7 18:59:32 2007
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<hlvm xmlns="http://hlvm.org/src/hlvm/Reader/XML/HLVM.rng">
+ <bundle pubid="bundle">
+ <structure name="struct1">
+ <field name="field1" type="SomeType"/>
+ </structure>
+ <structure name="struct2">
+ <field name="field1" type="SomeType"/>
+ <field name="field2" type="PtrToSomeType"/>
+ </structure>
+ <pointer name="PtrToSomeType" to="SomeType"/>
+ <atom name="SomeType">
+ <intrinsic is="any"/>
+ </atom>
+ </bundle>
+</hlvm>
More information about the llvm-commits
mailing list