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