blob: 60f5319c7e284494d3c65f6ac20d6074a2f26a0d [file] [edit]
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
; CHECK: target feature 'foobar' must start with a '+' or '-'
define void @f1() "target-features"="foobar" {
entry:
ret void
}
; CHECK: target-features attribute should not contain an empty string
define void @f2() "target-features"="+a,-b,,+c" {
entry:
ret void
}