Kaydet (Commit) e4c6aa3d authored tarafından SiegeLord's avatar SiegeLord

Rust: Add a test for leading 'priv'.

üst e89c4af4
...@@ -32,8 +32,9 @@ pub struct B ...@@ -32,8 +32,9 @@ pub struct B
static size: uint = 1; static size: uint = 1;
#[cfg(test)]
struct S1 { struct S1 {
only_field: [int, ..size] priv only_field: [int, ..size]
} }
macro_rules! test_macro macro_rules! test_macro
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment