diff --git a/_examples/named/named.go b/_examples/named/named.go
index d6813bb2..545fb4e0 100644
--- a/_examples/named/named.go
+++ b/_examples/named/named.go
@@ -44,3 +44,7 @@ type T int
 
 func (t T) PublicMethod()  {}
 func (t T) privateMethod() {}
+
+func Xs() []X {
+	return []X{1, 2, 3}
+}
diff --git a/_examples/named/test.py b/_examples/named/test.py
index 19293b09..a7f51ea7 100644
--- a/_examples/named/test.py
+++ b/_examples/named/test.py
@@ -125,3 +125,7 @@
 print("s = named.Slice(xrange(10))")
 s = named.Slice(xrange(10))
 print("s = %s" % (s,))
+
+print("xs = named.Xs()")
+xs = named.Xs()
+print("xs = %s" % (xs,))