// compile-flags: -C lto -C prefer-dynamic
// error-pattern: cannot prefer dynamic linking
fn main() {}