about summary refs log tree commit diff
path: root/tests/source/struct_lits.rs
diff options
context:
space:
mode:
authorMarcus Klaas <mail@marcusklaas.nl>2015-08-14 14:09:19 +0200
committerMarcus Klaas <mail@marcusklaas.nl>2015-08-16 22:53:06 +0200
commit41bca58100260323e54ff83e5bc74dd920beabcd (patch)
treef3aa2bd2357772460166aebde44155454aaab3a4 /tests/source/struct_lits.rs
parent78b38c84c620a3019473463a5ff9120941604ec2 (diff)
Format paths
Diffstat (limited to 'tests/source/struct_lits.rs')
-rw-r--r--tests/source/struct_lits.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/source/struct_lits.rs b/tests/source/struct_lits.rs
index 54f2ea5441b..225d3a16985 100644
--- a/tests/source/struct_lits.rs
+++ b/tests/source/struct_lits.rs
@@ -48,3 +48,8 @@ fn matcher() {
     },
     };
 }
+
+fn issue177() {
+    struct Foo<T> { memb: T }
+    let foo = Foo::<i64> { memb: 10 };
+}