Add --match-full-lines or `{{$}}` to ensure that no unexpected
attributes appear at the ends of lines. Account for the cases
where attributes were in fact appearing.
Differential Revision: https://reviews.llvm.org/D110720
6 lines
180 B
LLVM
6 lines
180 B
LLVM
; RUN: opt -S -inferattrs < %s | FileCheck %s
|
|
|
|
; CHECK: Function Attrs: nobuiltin allocsize(0){{$}}
|
|
; CHECK: declare i8* @_Znwm(i32)
|
|
declare i8* @_Znwm(i32) nobuiltin allocsize(0)
|