]> git.lizzy.rs Git - rust.git/blob - src/test/ui/drop/drop-with-type-ascription-2.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / ui / drop / drop-with-type-ascription-2.rs
1 // run-pass
2
3 fn main() {
4     let args = vec!["foobie", "asdf::asdf"];
5     let arr: Vec<&str> = args[1].split("::").collect();
6     assert_eq!(arr[0], "asdf");
7     assert_eq!(arr[0], "asdf");
8 }