aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-datalayout21.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-datalayout21.ll')
-rw-r--r--test/Assembler/invalid-datalayout21.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/invalid-datalayout21.ll b/test/Assembler/invalid-datalayout21.ll
new file mode 100644
index 0000000..a39d1d7
--- /dev/null
+++ b/test/Assembler/invalid-datalayout21.ll
@@ -0,0 +1,6 @@
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+
+target datalayout = "p:64:64:24"
+
+; CHECK: Pointer preferred alignment must be a power of 2
+