Skip to content

Commit 853e9d1

Browse files
committed
Add test case for issue 6215
1 parent 3c1160d commit 853e9d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/target/issue_6215.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cfg_if!(
2+
if #[cfg(feature = "xxxx")] {
3+
if #[cfg(feature = "yyyy")] {
4+
pub const C1: u8 = 1;
5+
} else {
6+
pub const C2: u8 = 2;
7+
}
8+
}
9+
);

0 commit comments

Comments
 (0)