Skip to content

Commit

Permalink
Add test case for issue 6215
Browse files Browse the repository at this point in the history
  • Loading branch information
ytmimi committed Jun 24, 2024
1 parent 3c1160d commit 853e9d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/target/issue_6215.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cfg_if!(
if #[cfg(feature = "xxxx")] {
if #[cfg(feature = "yyyy")] {
pub const C1: u8 = 1;
} else {
pub const C2: u8 = 2;
}
}
);

0 comments on commit 853e9d1

Please sign in to comment.