summaryrefslogtreecommitdiff
path: root/testdata/integration/basic_functionality/reference_scope.in.osml
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/integration/basic_functionality/reference_scope.in.osml')
-rw-r--r--testdata/integration/basic_functionality/reference_scope.in.osml19
1 files changed, 19 insertions, 0 deletions
diff --git a/testdata/integration/basic_functionality/reference_scope.in.osml b/testdata/integration/basic_functionality/reference_scope.in.osml
new file mode 100644
index 0000000..6ddf8ff
--- /dev/null
+++ b/testdata/integration/basic_functionality/reference_scope.in.osml
@@ -0,0 +1,19 @@
+\import[ontology]{./ontologies/reference_tests.osml}
+\begin{test}
+ \begin{c}
+ \b{foo}
+ \b{foo2}
+ \a#foo
+ \end{c}
+ \begin{c}
+ \b{foo}
+ \a#foo
+ \end{c}
+ \begin{c}
+ % TODO: Getting ambiguous reference error here. This is still a bug!
+ %\b{foo}
+ \a#foo
+ \a#foo2
+ \end{c}
+ \a#foo2
+\end{test}