summaryrefslogtreecommitdiff
path: root/test/Assembler/align-inst-load.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/align-inst-load.ll')
-rw-r--r--test/Assembler/align-inst-load.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/align-inst-load.ll b/test/Assembler/align-inst-load.ll
new file mode 100644
index 00000000000..3586be2d6e0
--- /dev/null
+++ b/test/Assembler/align-inst-load.ll
@@ -0,0 +1,6 @@
+; RUN: not llvm-as %s -o /dev/null 2>/dev/null
+
+define void @foo() {
+ load i1* %p, align 1073741824
+ ret void
+}