]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/compile/internal/types2/stdlib_test.go
cmd/compile, go/types: typechecking of range over int, func
[gostls13.git] / src / cmd / compile / internal / types2 / stdlib_test.go
index ee852f5c4c839ae2048599505b184f4f6635d8c9..fc93d4449778da1dd7f9068f7bce24ced17ca350 100644 (file)
@@ -233,6 +233,9 @@ func testTestDir(t *testing.T, path string, ignore ...string) {
                filename := filepath.Join(path, f.Name())
                goVersion := ""
                if comment := firstComment(filename); comment != "" {
+                       if strings.Contains(comment, "-goexperiment") {
+                               continue // ignore this file
+                       }
                        fields := strings.Fields(comment)
                        switch fields[0] {
                        case "skip", "compiledir":