]> git.lizzy.rs Git - rust.git/blob - src/test/ui/drop/drop-with-type-ascription-2.rs
Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup
[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 }