summaryrefslogtreecommitdiff
path: root/support/texlab/tests/scenarios/definition/latex/label/theorem.tex
diff options
context:
space:
mode:
Diffstat (limited to 'support/texlab/tests/scenarios/definition/latex/label/theorem.tex')
-rw-r--r--support/texlab/tests/scenarios/definition/latex/label/theorem.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/texlab/tests/scenarios/definition/latex/label/theorem.tex b/support/texlab/tests/scenarios/definition/latex/label/theorem.tex
new file mode 100644
index 0000000000..52cac48394
--- /dev/null
+++ b/support/texlab/tests/scenarios/definition/latex/label/theorem.tex
@@ -0,0 +1,9 @@
+\usepackage{amsthm}
+\newtheorem{lemma}{Lemma}
+
+\begin{lemma}%
+\label{thm:foo}
+ Foo
+\end{lemma}
+
+\ref{thm:foo}