1 // aux-build: cross-crate.rs
2 extern crate cross_crate;
6 fn non_const_context() {
11 const fn const_context() {
13 //~^ ERROR: calls in constant functions are limited to constant functions, tuple structs and tuple variants
15 //~^ ERROR: calls in constant functions are limited to constant functions, tuple structs and tuple variants