mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
6ed74720c1
As indicated by the tests, it is possible to feed the AsmParser an invalid datalayout string. We should verify the result of parsing this string regardless of whether or not we have assertions enabled. llvm-svn: 223898
4 lines
141 B
LLVM
4 lines
141 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
target datalayout = "p16777216:64:64:64"
|
|
; CHECK: Invalid address space, must be a 24bit integer
|