Skip to content

Commit 6629256

Browse files
committed
Add cfg_if! test case for issue 5428
1 parent d3a7d5d commit 6629256

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/target/issue_5428.rs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// cfg-if: version 1.0.0
2+
cfg_if::cfg_if! {
3+
if #[cfg(windows)] {
4+
compile_error!{"..."};
5+
}
6+
}

0 commit comments

Comments
 (0)