1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/Verifier/invalid-frame-pointer-attr.ll
Matt Arsenault 2a7a08144a Verifier: Check frame-pointer attribute values
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.
2019-12-11 19:53:49 +05:30

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" }