aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-datalayout7.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-datalayout7.ll')
-rw-r--r--test/Assembler/invalid-datalayout7.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/invalid-datalayout7.ll b/test/Assembler/invalid-datalayout7.ll
new file mode 100644
index 0000000..097227a
--- /dev/null
+++ b/test/Assembler/invalid-datalayout7.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+target datalayout = "p:52"
+; CHECK: number of bits must be a byte width multiple