~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/pkg/go/printer/testdata/statements.golden

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
}
112
112
 
113
113
 
 
114
// Formatting of selected select statements.
 
115
func _() {
 
116
        select {}
 
117
        select { /* this comment should not be tab-aligned because the closing } is on the same line */
 
118
        }
 
119
        select {        /* this comment should be tab-aligned */
 
120
        }
 
121
        select {        // this comment should be tab-aligned
 
122
        }
 
123
        select {
 
124
        case <-c:
 
125
        }
 
126
}
 
127
 
 
128
 
114
129
// Formatting of for-statement headers.
115
130
func _() {
116
131
        for {