summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-01-28 06:22:14 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-01-28 06:22:14 +0000
commit8b01c82f25aaea12340f53789ba59a2527713b9e (patch)
tree674aaf9f3ddbc3e748718dcc8bd49533e01cd246 /test/MC/AsmParser
parente71cc86ad10143173195182f28bf90844f682436 (diff)
downloadllvm-8b01c82f25aaea12340f53789ba59a2527713b9e.tar.gz
llvm-8b01c82f25aaea12340f53789ba59a2527713b9e.tar.bz2
llvm-8b01c82f25aaea12340f53789ba59a2527713b9e.tar.xz
Small improvement to the recursion detection logic from the previous commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r--test/MC/AsmParser/variables-invalid.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/AsmParser/variables-invalid.s b/test/MC/AsmParser/variables-invalid.s
index c0f6c39876..21758d20c8 100644
--- a/test/MC/AsmParser/variables-invalid.s
+++ b/test/MC/AsmParser/variables-invalid.s
@@ -21,3 +21,7 @@ t2_s0:
t4_s0 = t4_s1
t4_s1 = t4_s2
t4_s2 = t4_s0
+
+// CHECK: Recursive use of 't5_s1'
+ t5_s0 = t5_s1 + 1
+ t5_s1 = t5_s0