1 use test_programs::wasi::cli::stdin;
2 
main()3 fn main() {
4     let stdin = stdin::get_stdin();
5     let p1 = stdin.subscribe();
6     let p2 = stdin.subscribe();
7 
8     // Should work:
9     // - Exactly the same pollable passed in multiple times.
10     // - Distinct pollables for the same backing resource (stdin in this case).
11     test_programs::wasi::io::poll::poll(&[&p1, &p2, &p1, &p2]);
12 }
13