File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1+ //! Check that `-Cremark` flag correctly emits LLVM optimization remarks.
2+ //!
3+ //! Regression test for <https://github.com/rust-lang/rust/issues/90924>.
4+
15//@ build-pass
26//@ ignore-pass
37//@ revisions: all inline merge1 merge2
48//@ compile-flags: --crate-type=lib -Cdebuginfo=1 -Copt-level=2
5- //
9+
610// Check that remarks can be enabled individually or with "all":
7- //
811//@ [all] compile-flags: -Cremark=all
912//@ [inline] compile-flags: -Cremark=inline
10- //
13+
1114// Check that values of -Cremark flag are accumulated:
12- //
1315//@ [merge1] compile-flags: -Cremark=all -Cremark=giraffe
1416//@ [merge2] compile-flags: -Cremark=inline -Cremark=giraffe
17+
1518//@ dont-check-compiler-stderr
1619//@ dont-require-annotations: NOTE
1720
1821#[ no_mangle]
1922#[ inline( never) ]
20- pub fn f ( ) {
21- }
23+ pub fn f ( ) { }
2224
2325#[ no_mangle]
2426pub fn g ( ) {
You can’t perform that action at this time.
0 commit comments