diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/consts/const-block-cross-crate-fn.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/consts/const-block-cross-crate-fn.rs b/src/test/ui/consts/const-block-cross-crate-fn.rs new file mode 100644 index 000000000..0ac3830d2 --- /dev/null +++ b/src/test/ui/consts/const-block-cross-crate-fn.rs @@ -0,0 +1,9 @@ +// run-pass +// aux-build:cci_const_block.rs + + +extern crate cci_const_block; + +pub fn main() { + assert_eq!(cci_const_block::BLOCK_FN_DEF(390), 400); +} |