summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-18 10:45:40 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-02-18 10:45:40 +0100
commit493acd119d730207524cd69fa25868c978bdf0f9 (patch)
tree5d7435f35047da5ce2a5a7e75803b147baf15dea /testdata
parenta0719a9a3e1c0970c0207fa4beec150613f1a768 (diff)
Added test for bug with structs that do not posses a field
Diffstat (limited to 'testdata')
-rw-r--r--testdata/osmlparser/struct_with_no_field.osml12
1 files changed, 12 insertions, 0 deletions
diff --git a/testdata/osmlparser/struct_with_no_field.osml b/testdata/osmlparser/struct_with_no_field.osml
new file mode 100644
index 0000000..8cf2d02
--- /dev/null
+++ b/testdata/osmlparser/struct_with_no_field.osml
@@ -0,0 +1,12 @@
+\document
+
+\domain#test
+ \struct#a[isRoot=true]
+ \field
+ \childRef[ref=b]
+ \struct#b
+
+\a
+ \b
+ \b
+