Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 9934dda

Browse files
committed
1 parent d9f2f2c commit 9934dda

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/23189.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
mod _23189;
2+
3+
fn main() {
4+
let _ = _23189 { x: 0 };
5+
}

src/_23189/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
struct _23189 {
2+
x: i32,
3+
}

test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ fi
88

99
for f in src/*
1010
do
11+
[[ -f $f ]] || continue;
1112
echo "Testing $f:"
1213
# Compile the code, and if it passes exit with error code
1314
if rustc "$f" > /dev/null 2>&1; then

0 commit comments

Comments
 (0)