aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-14 04:31:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-14 04:31:50 +0000
commitd11d59e35a977e65387c3033dd7b0b7af5641f1e (patch)
treee27d20d54cf16dc1c9ac1b435da4b9bfee91b301 /test/Other
parent7ff82e1501c416552125f77a62edebe576e469b0 (diff)
downloadexternal_llvm-d11d59e35a977e65387c3033dd7b0b7af5641f1e.zip
external_llvm-d11d59e35a977e65387c3033dd7b0b7af5641f1e.tar.gz
external_llvm-d11d59e35a977e65387c3033dd7b0b7af5641f1e.tar.bz2
Inline Asm: Ensure buffer is newline terminated to match how the text is printed.
- This is a hack, but I can't decide the best place to handle this. Chris? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/inline-asm-newline-terminator.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Other/inline-asm-newline-terminator.ll b/test/Other/inline-asm-newline-terminator.ll
new file mode 100644
index 0000000..af93cc0
--- /dev/null
+++ b/test/Other/inline-asm-newline-terminator.ll
@@ -0,0 +1,6 @@
+; RUN: llc -filetype=obj -o - < %s
+
+; ModuleID = 't.c'
+target triple = "x86_64-apple-darwin10.0.0"
+
+module asm ".desc _f0, 0x10"