github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/switch30.gno (about)

     1  package main
     2  
     3  func main() {
     4  	a := 3
     5  	switch a {
     6  	default:
     7  		// println("default")
     8  	case 3:
     9  		println("three")
    10  	}
    11  	println("bye")
    12  }
    13  
    14  // Output:
    15  // three
    16  // bye