about summary refs log tree commit diff
path: root/tests/ui/drop/drop-with-type-ascription-2.rs
blob: 68109fac31b1f85df896c46fca4b61dc4d043d3e (plain)
1
2
3
4
5
6
7
8
//@ run-pass

fn main() {
    let args = vec!["foobie", "asdf::asdf"];
    let arr: Vec<&str> = args[1].split("::").collect();
    assert_eq!(arr[0], "asdf");
    assert_eq!(arr[0], "asdf");
}