Update optimization remark test for LLVM 14

The format of the remark changed slightly.
This commit is contained in:
Nikita Popov 2022-02-02 09:53:45 +01:00 committed by Nikita Popov
parent 599a03c9b5
commit f34914141e

View File

@ -1,6 +1,6 @@
// build-pass
// ignore-pass
// no-system-llvm
// min-llvm-version: 14.0.0
// revisions: all inline merge1 merge2
// compile-flags: --crate-type=lib -Cdebuginfo=1 -Copt-level=2
//
@ -14,7 +14,7 @@
// [merge1] compile-flags: -Cremark=all -Cremark=giraffe
// [merge2] compile-flags: -Cremark=inline -Cremark=giraffe
//
// error-pattern: inline: f not inlined into g
// error-pattern: inline: 'f' not inlined into 'g'
// dont-check-compiler-stderr
#[no_mangle]