Define a maximum supported alignment value for load, store, and
[oota-llvm.git] / test / Assembler / align-inst-alloca.ll
diff --git a/test/Assembler/align-inst-alloca.ll b/test/Assembler/align-inst-alloca.ll
new file mode 100644 (file)
index 0000000..0343beb
--- /dev/null
@@ -0,0 +1,6 @@
+; RUN: not llvm-as %s -o /dev/null 2>/dev/null
+
+define void @foo() {
+  %p = alloca i1, align 1073741824
+  ret void
+}