Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/cgo: atexit handlers not run #5948
What steps will reproduce the problem? Save the attached files into a directory and run make, then run ./stmain What is the expected output? "This is a test." should display on the console. What do you see instead? Nothing. Which compiler are you using (5g, 6g, 8g, gccgo)? 6c, 6g, 6l swig 2.0.10 Which operating system are you using? Fedora 19 linux Which version are you using? (run 'go version') 1.1.1-1 Please provide any additional information below. Per Ian Taylor email@example.com, changing pinput to cout<<pstring<<std::endl; does display.