blob: 8c8805fabbd3f79980ff568f2fa8e0722f32218f [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// test5 fails the log check, because it does not pass
// return values correctly (they should be passed as
// pointers)
package test5
import "v.io/x/ref/lib/apilog"
type Type struct{}
func (Type) ReturnsSomething(a int) (b int) {
defer apilog.LogCall(nil, a)(nil, b)
return 42
}