main: extra interface test for simple named types

This commit is contained in:
Ayke van Laethem
2018-10-07 19:30:36 +02:00
parent c516a11004
commit 73709922b2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ func main() {
printItf(5)
printItf(byte('x'))
printItf("foo")
printItf(Foo(18))
printItf(*thing)
printItf(thing)
printItf(Stringer(thing))
+1
View File
@@ -3,6 +3,7 @@ Thing.Print: foo
is int: 5
is byte: 120
is string: foo
is Foo: 18
is Thing: foo
is *Thing: foo
is *Thing: foo