diff --git a/tests/ctags/test_input.rs b/tests/ctags/test_input.rs index d0dd1052..5f21b512 100644 --- a/tests/ctags/test_input.rs +++ b/tests/ctags/test_input.rs @@ -32,8 +32,9 @@ pub struct B static size: uint = 1; +#[cfg(test)] struct S1 { - only_field: [int, ..size] + priv only_field: [int, ..size] } macro_rules! test_macro