// Code generated by cmd/cgo; DO NOT EDIT.

//line /tmp/cgosotest3446777097/src/cgosotest/cgoso_unix.go:1:1
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build aix dragonfly freebsd linux netbsd solaris

package cgosotest

/*
extern int __thread tlsvar;
int *getTLS() { return &tlsvar; }
*/
import _ "unsafe"

func init() {
	if v := *( /*line :16:11*/_Cfunc_getTLS /*line :16:18*/)(); v != 12345 {
		println("got", v)
		panic("BAD TLS value")
	}
}
