aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-10 22:20:30 +0000
committerChris Lattner <sabre@nondot.org>2009-07-10 22:20:30 +0000
commit349007ada0e55224d1ae3840835ddb09c42f1260 (patch)
treeb51bd12c9229acf7e8630ea1ff8db5cdc44da66e /test/MC
parent212ed9211c3f9eb9a7026c4e5520cdbaece12cb2 (diff)
downloadexternal_llvm-349007ada0e55224d1ae3840835ddb09c42f1260.zip
external_llvm-349007ada0e55224d1ae3840835ddb09c42f1260.tar.gz
external_llvm-349007ada0e55224d1ae3840835ddb09c42f1260.tar.bz2
add support for .zerofill, patch by Kevin Enderby!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/directive_zerofill.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_zerofill.s b/test/MC/AsmParser/directive_zerofill.s
new file mode 100644
index 0000000..2218aba
--- /dev/null
+++ b/test/MC/AsmParser/directive_zerofill.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc %s | FileCheck %s
+
+# CHECK: TEST0:
+# CHECK: .zerofill __FOO,__bar,x,1
+# CHECK: .zerofill __FOO,__bar,y,8,2
+# CHECK: .zerofill __EMPTY,__NoSymbol
+TEST0:
+ .zerofill __FOO, __bar, x, 2-1
+ .zerofill __FOO, __bar, y , 8 , 1+1
+ .zerofill __EMPTY,__NoSymbol