]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/const-extern-fn/const-extern-fn-call-extern-fn.rs
1 #![feature(const_extern_fn)]
7 const extern fn bar() {
10 //~^ ERROR: can only call other `const fn` within a `const fn`
14 extern fn regular() {}
16 const extern fn foo() {
19 //~^ ERROR: can only call other `const fn` within a `const fn`