]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/no-const-fn-in-extern-block.rs
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[rust.git] / src / test / ui / parser / no-const-fn-in-extern-block.rs
1 extern {
2     const fn foo();
3     //~^ ERROR functions in `extern` blocks cannot have qualifiers
4     const unsafe fn bar();
5     //~^ ERROR functions in `extern` blocks cannot have qualifiers
6 }
7
8 fn main() {}