mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-01 17:46:05 +00:00

There are a few places that check specific string attributes have particular values, and assert if they are something else. The verifier should catch these kinds of cases.
10 lines
200 B
LLVM
10 lines
200 B
LLVM
; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
; CHECK: invalid value for 'frame-pointer' attribute: arst
|
|
|
|
define void @func() #0 {
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { "frame-pointer"="arst" }
|