Skip to content

Commit da3b5c4

Browse files
committed
Add 80074
Issue: rust-lang/rust#80074
1 parent ea3b4de commit da3b5c4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

ices/80074.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
rustc --edition=2018 -C embed-bitcode=no -C debuginfo=2 --crate-type=lib - << 'EOF'
4+
macro_rules! foo_ { () => {}; }
5+
use foo_ as foo;
6+
EOF
7+
8+
rustc --edition=2018 -C embed-bitcode=no -C debuginfo=2 --extern test_project=$(ls librust_out.*) - << 'EOF'
9+
#[macro_use]
10+
extern crate test_project;
11+
12+
fn main() {
13+
foo!();
14+
}
15+
EOF

0 commit comments

Comments
 (0)