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