Fix control flow graph for unary expressions
This commit is contained in:
15
_test/struct7.go
Normal file
15
_test/struct7.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
type Opt struct {
|
||||
b bool
|
||||
}
|
||||
|
||||
type T struct {
|
||||
i int
|
||||
opt Opt
|
||||
}
|
||||
|
||||
func main() {
|
||||
a := T{}
|
||||
println(a.i, a.opt.b)
|
||||
}
|
||||
Reference in New Issue
Block a user