1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Verifier/invalid-frame-pointer-attr-no-value.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
188 B
LLVM

; RUN: not llvm-as < %s -o /dev/null 2>&1 | FileCheck %s
; CHECK: invalid value for 'frame-pointer' attribute:
define void @func() #0 {
ret void
}
attributes #0 = { "frame-pointer" }