Skip to content

Commit

Permalink
Add 82320
Browse files Browse the repository at this point in the history
  • Loading branch information
fanninpm committed Feb 20, 2021
1 parent c212aec commit 59f378e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ices/82320.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

rustc -Cpanic=abort --crate-type proc-macro --crate-name=p - <<'EOF'
extern crate proc_macro;
#[proc_macro]
pub fn p(_: proc_macro::TokenStream) -> proc_macro::TokenStream {
panic!()
}
EOF

rustc -L. - <<'EOF'
extern crate p;
p::p! {}
EOF

0 comments on commit 59f378e

Please sign in to comment.