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

23189 #68

Merged
merged 1 commit into from
Oct 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/23189.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mod _23189;

fn main() {
let _ = _23189 { x: 0 };
}
3 changes: 3 additions & 0 deletions src/_23189/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
struct _23189 {
x: i32,
}
1 change: 1 addition & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ fi

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