Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions aml/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,3 +791,15 @@ pub enum AmlError {
FieldInvalidAccessSize,
TypeCannotBeCompared(AmlType),
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn test_send_sync() {
// verify that AmlContext implements Send and Sync
fn test_send_sync<T: Send + Sync>() {}
test_send_sync::<AmlContext>();
}
}