aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-datalayout8.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/invalid-datalayout8.ll')
-rw-r--r--test/Assembler/invalid-datalayout8.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Assembler/invalid-datalayout8.ll b/test/Assembler/invalid-datalayout8.ll
new file mode 100644
index 0000000..28832ff
--- /dev/null
+++ b/test/Assembler/invalid-datalayout8.ll
@@ -0,0 +1,3 @@
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+target datalayout = "e-p"
+; CHECK: Missing size specification for pointer in datalayout string