1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Assembler/incorrect-tdep-attrs-parsing.ll
Sanjoy Das 0ab88f9c4c [IR] Have AttrBuilder::clear clear TargetDepAttrs.
Test case attached -- currently the parser smears the "foo bar" to all
of the formal arguments.

llvm-svn: 246812
2015-09-03 22:27:42 +00:00

7 lines
175 B
LLVM

; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; CHECK: define i32 @f(i64 "foo bar", i64, i64, i64 "xyz") {
define i32 @f(i64 "foo bar", i64, i64, i64 "xyz") {
ret i32 41
}