Skip to content

Commit

Permalink
Add 84737
Browse files Browse the repository at this point in the history
  • Loading branch information
fanninpm authored and JohnTitor committed Jun 21, 2021
1 parent 179c09c commit f48882a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ices/84737.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

cat > Cargo.toml <<'EOF'
[package]
name = "abc"
version = "0.0.1"
edition = "2018"
EOF

mkdir -p src

cat > src/test.rs <<'EOF'
#![allow(incomplete_features)]
#![feature(const_generics)]
async fn test(test: [(); { 0 }]) {
let _ = &test;
async {}.await;
}
EOF

cargo test

0 comments on commit f48882a

Please sign in to comment.