rust/tests/codegen/meta-filecheck/filecheck-flags.rs
Zalathar baec3076db Allow tests to specify a //@ filecheck-flags: header
Any flags specified here will be passed to LLVM's `filecheck` tool, in tests
that use that tool.
2024-02-23 11:28:06 +11:00

9 lines
204 B
Rust

// Arguments provided via `filecheck-flags` should be passed to `filecheck`.
//@ revisions: good bad
//@ [good] filecheck-flags: --check-prefix=CUSTOM
//@ [bad] should-fail
// CUSTOM: main
fn main() {}