Add test for non ascii idents

This commit is contained in:
David Tolnay
2017-01-10 01:20:01 -08:00
parent c475df8320
commit d34be74dfd
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -202,6 +202,12 @@ fn test_gen() {
EmptyStruct {},
}
assert::<EmptyEnumVariant>();
#[cfg(feature = "unstable-testing")]
#[cfg_attr(feature = "unstable-testing", derive(Serialize, Deserialize))]
struct NonAsciiIdents {
σ: f64
}
}
//////////////////////////////////////////////////////////////////////////