]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/nul1.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / nul1.go
index 9d6974f818bbdcf52075edea80a3410848568ce4..fbba19857b9cee4f01fe694b20b01e68222dfbd7 100644 (file)
@@ -1,8 +1,4 @@
-// [ $GOOS != nacl ] || exit 0  # NaCl runner elides NUL in output
-// [ "$GORUN" == "" ] || exit 0  # Android runner gets confused by the NUL output 
-// $G $D/$F.go && $L $F.$A && ./$A.out >tmp.go &&
-// errchk $G -e tmp.go
-// rm -f tmp.go
+// errorcheckoutput
 
 // Copyright 2009 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
@@ -53,8 +49,7 @@ var yy = ` + "`in raw string \xff foo`" + `  // ERROR "UTF-8"
 /* in variable name */
 var z` + "\xc1\x81" + ` int // ERROR "UTF-8"
 
-/* in source code */ ` + "\xc2A" + `// ERROR "UTF-8"
+/* in source code */ ` + "var \xc2A int" + `// ERROR "UTF-8"
 
 `)
 }
-