HomeSort by relevance Sort by last modified time
    Searched defs:testPos (Results 1 - 2 of 2) sorted by null

  /prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/
nodes_test.go 240 func TestPos(t *testing.T) {
245 testPos(t, decls, "package p; ", "",
250 testPos(t, exprs, "package p; var _ = T{ ", " }",
255 testPos(t, types, "package p; func f(", ")",
259 testPos(t, fields, "package p; func f(", ")",
263 testPos(t, stmts, "package p; func _() { ", "; }",
267 testPos(t, ranges, "package p; func _() { for ", " {} }",
271 testPos(t, guards, "package p; func _() { switch ", " {} }",
275 testPos(t, cases, "package p; func _() { switch { ", " } }",
279 testPos(t, comms, "package p; func _() { select { ", " } }"
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
nodes_test.go 240 func TestPos(t *testing.T) {
245 testPos(t, decls, "package p; ", "",
250 testPos(t, exprs, "package p; var _ = T{ ", " }",
255 testPos(t, types, "package p; func f(", ")",
259 testPos(t, fields, "package p; func f(", ")",
263 testPos(t, stmts, "package p; func _() { ", "; }",
267 testPos(t, ranges, "package p; func _() { for ", " {} }",
271 testPos(t, guards, "package p; func _() { switch ", " {} }",
275 testPos(t, cases, "package p; func _() { switch { ", " } }",
279 testPos(t, comms, "package p; func _() { select { ", " } }"
    [all...]

Completed in 2446 milliseconds