summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/rename.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/rename.s')
-rw-r--r--test/MC/AsmParser/rename.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/AsmParser/rename.s b/test/MC/AsmParser/rename.s
new file mode 100644
index 00000000000..934cee808bd
--- /dev/null
+++ b/test/MC/AsmParser/rename.s
@@ -0,0 +1,14 @@
+// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
+
+ .size bar, . - bar
+.Ltmp01:
+ .size foo, .Ltmp01 - foo
+.Ltmp0:
+ .size qux, .Ltmp0 - qux
+
+// CHECK: .Ltmp0:
+// CHECK: .size bar, .Ltmp0-bar
+// CHECK: .Ltmp01
+// CHECK: .size foo, .Ltmp01-foo
+// CHECK: .Ltmp02
+// CHECK: .size qux, .Ltmp02-qux