mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 14:03:39 +00:00
committed by
Ron Evans
parent
3656ac2fc9
commit
14474e7099
Vendored
+6
@@ -33,6 +33,10 @@ func main() {
|
||||
// https://github.com/tinygo-org/tinygo/issues/309
|
||||
itf = linkedList{}
|
||||
|
||||
// Test bugfix for assertion on named empty interface:
|
||||
// https://github.com/tinygo-org/tinygo/issues/453
|
||||
_, _ = itf.(Empty)
|
||||
|
||||
var n int
|
||||
var f float32
|
||||
var interfaceEqualTests = []struct {
|
||||
@@ -251,3 +255,5 @@ func (s SleepBlocker) Sleep() {
|
||||
type StaticBlocker interface {
|
||||
Sleep()
|
||||
}
|
||||
|
||||
type Empty interface{}
|
||||
|
||||
Reference in New Issue
Block a user