3 // Copyright 2018 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // gccgo mishandled passing a struct with an empty field through
21 func F(e Empty, s []string) {
22 if len(s) != 1 || s[0] != "hi" {
28 reflect.ValueOf(F).Call([]reflect.Value{
29 reflect.ValueOf(Empty{}),
30 reflect.ValueOf([]string{"hi"}),