Home | History | Annotate | Download | only in testdata
      1 // Package blank is a go/doc test for the handling of _. See issue ...
      2 PACKAGE blank
      3 
      4 IMPORTPATH
      5 	testdata/blank
      6 
      7 IMPORTS
      8 	os
      9 
     10 FILENAMES
     11 	testdata/blank.go
     12 
     13 CONSTANTS
     14 	// T constants counting from unexported constants. 
     15 	const (
     16 		C1	T
     17 		C2
     18 	
     19 		C3
     20 	
     21 		C4	int
     22 	)
     23 
     24 	// Constants with an imported type that needs to be propagated. 
     25 	const (
     26 		Default		os.FileMode	= 0644
     27 		Useless				= 0312
     28 		WideOpen			= 0777
     29 	)
     30 
     31 	// Package constants. 
     32 	const (
     33 		I1	int
     34 		I2
     35 	)
     36 
     37 
     38 TYPES
     39 	// S has a padding field. 
     40 	type S struct {
     41 		H	uint32
     42 	
     43 		A	uint8
     44 		// contains filtered or unexported fields
     45 	}
     46 
     47 	// 
     48 	type T int
     49 
     50 	// T constants counting from a blank constant. 
     51 	const (
     52 		T1	T
     53 		T2
     54 	)
     55 
     56