aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-datalayout17.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-datalayout17.ll')
-rw-r--r--test/Assembler/invalid-datalayout17.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/invalid-datalayout17.ll b/test/Assembler/invalid-datalayout17.ll
new file mode 100644
index 0000000..519f5c1
--- /dev/null
+++ b/test/Assembler/invalid-datalayout17.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+target datalayout = "i16777216:16:16"
+; CHECK: Invalid bit width, must be a 24bit integer