1 2 3 4 5
// compile-flags: -C lto -C prefer-dynamic // error-pattern: cannot prefer dynamic linking fn main() {}