summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/variables-invalid.s
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
commit004725876e928b1f8ee6bd1a7c487faaa0be4ac4 (patch)
tree1c21bef63b72ffe4923eaedc08496408637045f9 /llvm/test/MC/AsmParser/variables-invalid.s
parent72f5f170c6bd1503dfebf7200e815e0952584064 (diff)
downloadbcm5719-llvm-004725876e928b1f8ee6bd1a7c487faaa0be4ac4.tar.gz
bcm5719-llvm-004725876e928b1f8ee6bd1a7c487faaa0be4ac4.zip
Small improvement to the recursion detection logic from the previous commit.
llvm-svn: 149175
Diffstat (limited to 'llvm/test/MC/AsmParser/variables-invalid.s')
-rw-r--r--llvm/test/MC/AsmParser/variables-invalid.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/variables-invalid.s b/llvm/test/MC/AsmParser/variables-invalid.s
index c0f6c398767..21758d20c8b 100644
--- a/llvm/test/MC/AsmParser/variables-invalid.s
+++ b/llvm/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
OpenPOWER on IntegriCloud