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

Commit 52f6c89

Browse files
committed
Merge pull request #68 from wheals/23189
23189
2 parents 03940a8 + 9934dda commit 52f6c89

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
@@ -12,6 +12,7 @@ echo -e '\xD2' | rustc - 2>&1 | grep -q 'internal compiler error' || exit 1
1212

1313
for f in src/*
1414
do
15+
[[ -f $f ]] || continue;
1516
echo "Testing $f:"
1617
# Compile the code, and if it passes exit with error code
1718
if rustc "$f" > /dev/null 2>&1; then

0 commit comments

Comments
 (0)