]> git.lizzy.rs Git - rust.git/blob - src/test/ui/drop/drop-with-type-ascription-2.rs
Auto merge of #102684 - JhonnyBillM:delete-target-data-layout-errors-wrapper, r=davidtwco
[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 }