18 lines
		
	
	
		
			290 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			290 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//golangcitest:args -Eexhaustive
 | 
						|
package testdata
 | 
						|
 | 
						|
type Direction int
 | 
						|
 | 
						|
const (
 | 
						|
	North Direction = iota
 | 
						|
	East
 | 
						|
	South
 | 
						|
	West
 | 
						|
)
 | 
						|
 | 
						|
func processDirection(d Direction) {
 | 
						|
	switch d { // want "missing cases in switch of type testdata.Direction: testdata.East, testdata.West"
 | 
						|
	case North, South:
 | 
						|
	}
 | 
						|
}
 |