summaryrefslogtreecommitdiff
path: root/test/MC/ELF/undef-temp.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/ELF/undef-temp.s')
-rw-r--r--test/MC/ELF/undef-temp.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/ELF/undef-temp.s b/test/MC/ELF/undef-temp.s
new file mode 100644
index 000000000000..45537a998e75
--- /dev/null
+++ b/test/MC/ELF/undef-temp.s
@@ -0,0 +1,4 @@
+// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o - 2>&1 | FileCheck %s
+
+// CHECK: Undefined temporary
+ .long .Lfoo