Rust: Add a test for leading 'priv'.

This commit is contained in:
SiegeLord 2014-04-02 13:41:40 -04:00
parent e89c4af47c
commit e4c6aa3d9c

View File

@ -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