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