blob: 71b15e82650442570fd8539ae1957b3b75b030b8 [file] [log] [blame] [edit]
// Checks that when we use `-Zself-profile-events=args`, it is possible to pretty print paths
// using `trimmed_def_paths` even without producing diagnostics.
//
// Issue: <https://github.com/rust-lang/rust/issues/144457>.
//@ compile-flags: -Zself-profile={{build-base}} -Zself-profile-events=args
//@ build-pass
use std::sync::atomic::AtomicUsize;
use std::sync::atomic::Ordering::Relaxed;
fn main() {
AtomicUsize::new(0).load(Relaxed);
}