mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
2a7a08144a
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
188 B
LLVM
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" }
|