about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-19 07:38:24 +0000
committerbors <bors@rust-lang.org>2015-05-19 07:38:24 +0000
commit9c47ebb00abecf2b2fe7fa0b0ea059c8327b40f2 (patch)
tree493b85963a6c35be14df7e7673d9b213eae63206 /src/test
parentb301e02f37127da993dd2cf370aa1066d48b042e (diff)
parent1973ee479d83f06aea2366963d5ec092d8c591dc (diff)
downloadrust-9c47ebb00abecf2b2fe7fa0b0ea059c8327b40f2.tar.gz
rust-9c47ebb00abecf2b2fe7fa0b0ea059c8327b40f2.zip
Auto merge of #25550 - sfackler:derive-debug-unsized, r=alexcrichton
Closes #25394 
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/issue-25394.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/run-pass/issue-25394.rs b/src/test/run-pass/issue-25394.rs
new file mode 100644
index 00000000000..c42de6fdf34
--- /dev/null
+++ b/src/test/run-pass/issue-25394.rs
@@ -0,0 +1,14 @@
+// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+#[derive(Debug)]
+struct Row<T>([T]);
+
+fn main() {}