aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-datalayout3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-datalayout3.ll')
-rw-r--r--test/Assembler/invalid-datalayout3.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/invalid-datalayout3.ll b/test/Assembler/invalid-datalayout3.ll
new file mode 100644
index 0000000..44535fd
--- /dev/null
+++ b/test/Assembler/invalid-datalayout3.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+target datalayout = "n0"
+; CHECK: Zero width native integer type in datalayout string