summaryrefslogtreecommitdiffstats
path: root/tests/ui/unique/unique-pat-3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/unique/unique-pat-3.rs')
-rw-r--r--tests/ui/unique/unique-pat-3.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/ui/unique/unique-pat-3.rs b/tests/ui/unique/unique-pat-3.rs
deleted file mode 100644
index 2e81f898d..000000000
--- a/tests/ui/unique/unique-pat-3.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-// run-pass
-#![allow(dead_code)]
-#![allow(non_camel_case_types)]
-
-enum bar { u(Box<isize>), w(isize), }
-
-pub fn main() {
- let v = match bar::u(10.into()) {
- bar::u(a) => {
- println!("{}", a);
- *a
- }
- _ => { 66 }
- };
- assert_eq!(v, 10);
-}