Add a test for .secure_log_unique.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 18 Jul 2013 20:34:26 +0000 (20:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 18 Jul 2013 20:34:26 +0000 (20:34 +0000)
It also doubles a test that F_Append works.

llvm-svn: 186606

llvm/test/MC/AsmParser/secure_log_unique.s [new file with mode: 0644]

diff --git a/llvm/test/MC/AsmParser/secure_log_unique.s b/llvm/test/MC/AsmParser/secure_log_unique.s
new file mode 100644 (file)
index 0000000..c41d7a8
--- /dev/null
@@ -0,0 +1,9 @@
+// RUN: rm -f %t
+// RUN: AS_SECURE_LOG_FILE=%t llvm-mc -triple x86_64-apple-darwin %s
+// RUN: AS_SECURE_LOG_FILE=%t llvm-mc -triple x86_64-apple-darwin %s
+// RUN: FileCheck --input-file=%t %s
+.secure_log_unique "foobar"
+
+// CHECK: "foobar"
+// CHECK-NEXT: "foobar"
+