3 // Regression test for guru crash
4 // https://code.google.com/p/go/issues/detail?id=6605
6 // Using reflection, methods may be called on types that are not the
7 // operand of any ssa.MakeInterface instruction. In this example,
8 // (Y).F is called by deriving the type Y from *Y. Prior to the fix,
9 // no RTTI (or method set) for type Y was included in the program, so
10 // the F() call would crash.
28 print(reflect.Indirect(reflect.ValueOf(new(Y))).Interface().(I).F()) // @pointsto main.a