Rust: Add a test for leading 'priv'.
This commit is contained in:
parent
e89c4af47c
commit
e4c6aa3d9c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user