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