Skip to content

Commit 7fec841

Browse files
committed
test: Add a test for unused constants in foreign modules
1 parent 1f056ed commit 7fec841

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#[nolink]
2+
extern mod foo {
3+
const errno: int;
4+
}
5+
6+
fn main() {
7+
}
8+

0 commit comments

Comments
 (0)