1// Copyright 2013 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package state
6
7import "./foo"
8
9func Public() {
10	var s Settings
11	s.op()
12}
13
14type State struct{}
15
16func (s *State) x(*Settings) {}
17
18type Settings struct{}
19
20func (c *Settings) x() {
21	run([]foo.Op{{}})
22}
23
24func run([]foo.Op) {}
25
26func (s *Settings) op() foo.Op {
27	return foo.Op{}
28}
29