3 // min-llvm-version: 14.0.0
4 // revisions: all inline merge1 merge2
5 // compile-flags: --crate-type=lib -Cdebuginfo=1 -Copt-level=2
7 // Check that remarks can be enabled individually or with "all":
9 // [all] compile-flags: -Cremark=all
10 // [inline] compile-flags: -Cremark=inline
12 // Check that values of -Cremark flag are accumulated:
14 // [merge1] compile-flags: -Cremark=all -Cremark=giraffe
15 // [merge2] compile-flags: -Cremark=inline -Cremark=giraffe
17 // error-pattern: inline: 'f' not inlined into 'g'
18 // dont-check-compiler-stderr