]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/ddd.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / ddd.go
index 3b595b5f8dafb6e81dff049b3ba98f55e482eccc..84503f7d5b182751a825ff42dc97e1cb01583e74 100644 (file)
@@ -1,6 +1,6 @@
 // run
 
-// Copyright 2010 The Go Authors.  All rights reserved.
+// Copyright 2010 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
@@ -219,7 +219,6 @@ func main() {
                println("s{&u}.Sum", x)
                panic("fail")
        }
-       /* TODO(rsc): Enable once nested method expressions work.
        if x := (*U).Sum(&U{}, 1, 3, 5, 2); x != 11 {
                println("(*U).Sum", x)
                panic("fail")
@@ -228,5 +227,4 @@ func main() {
                println("U.Sum", x)
                panic("fail")
        }
-       */
 }