libgo: update to Go 1.11
[official-gcc.git] / libgo / go / go / doc / testdata / a0.go
blob2420c8a483a2654dd5343172dc7cc765b8df662f
1 // Copyright 2012 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.
5 // comment 0
6 package a
8 //BUG(uid): bug0
10 //TODO(uid): todo0
12 // A note with some spaces after it, should be ignored (watch out for
13 // emacs modes that remove trailing whitespace).
14 //NOTE(uid):
16 // SECBUG(uid): sec hole 0
17 // need to fix asap
19 // Multiple notes may be in the same comment group and should be
20 // recognized individually. Notes may start in the middle of a
21 // comment group as long as they start at the beginning of an
22 // individual comment.
24 // NOTE(foo): 1 of 4 - this is the first line of note 1
25 // - note 1 continues on this 2nd line
26 // - note 1 continues on this 3rd line
27 // NOTE(foo): 2 of 4
28 // NOTE(bar): 3 of 4
29 /* NOTE(bar): 4 of 4 */
30 // - this is the last line of note 4
34 // NOTE(bam): This note which contains a (parenthesized) subphrase
35 // must appear in its entirety.
37 // NOTE(xxx) The ':' after the marker and uid is optional.
39 // NOTE(): NO uid - should not show up.
40 // NOTE() NO uid - should not show up.