aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-datalayout18.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-datalayout18.ll')
-rw-r--r--test/Assembler/invalid-datalayout18.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/invalid-datalayout18.ll b/test/Assembler/invalid-datalayout18.ll
new file mode 100644
index 0000000..b9956f9
--- /dev/null
+++ b/test/Assembler/invalid-datalayout18.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+target datalayout = "p:32:32:16"
+; CHECK: Preferred alignment cannot be less than the ABI alignment