blob: 7daa05f69d19fab02a236183b76687ca88830498 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Verifies that "EnableSplitLTOUnit" module flag is added.
//
// compile-flags: -Clto -Ctarget-feature=-crt-static -Zsplit-lto-unit
#![crate_type="lib"]
pub fn foo() {
}
// CHECK: !{{[0-9]+}} = !{i32 4, !"EnableSplitLTOUnit", i32 1}
|