• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package nocgo
6
7import "testing"
8
9func TestNop(t *testing.T) {
10	i := NoCgo()
11	if i != 42 {
12		t.Errorf("got %d, want %d", i, 42)
13	}
14}
15