diff options
Diffstat (limited to 'tests/pretty/trait-polarity.rs')
-rw-r--r-- | tests/pretty/trait-polarity.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pretty/trait-polarity.rs b/tests/pretty/trait-polarity.rs new file mode 100644 index 000000000..310506eab --- /dev/null +++ b/tests/pretty/trait-polarity.rs @@ -0,0 +1,9 @@ +#![feature(negative_impls)] + +// pp-exact + +struct Test; + +impl !Send for Test {} + +pub fn main() {} |