Run gofmt on hand written Go code.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Ian Lance Taylor 2011-08-22 20:04:06 +00:00
commit e82f320510
6 changed files with 0 additions and 7 deletions

View file

@ -24,7 +24,6 @@ func main() {
fmt.Println("Just call her \"", e.GetTitle(), "\"") fmt.Println("Just call her \"", e.GetTitle(), "\"")
fmt.Println("----------------------") fmt.Println("----------------------")
// Create a new EmployeeList instance. This class does not // Create a new EmployeeList instance. This class does not
// have a C++ director wrapper, but can be used freely with // have a C++ director wrapper, but can be used freely with
// other classes that do. // other classes that do.

View file

@ -107,7 +107,6 @@ func f3() {
p2.Vmethod(bc) p2.Vmethod(bc)
} }
func main() { func main() {
f1() f1()
f2() f2()

View file

@ -143,7 +143,6 @@ func main() {
panic("overload(const char *)") panic("overload(const char *)")
} }
// everything put in a namespace // everything put in a namespace
if Nsoverload("hi") != 1000 { if Nsoverload("hi") != 1000 {
panic("nsoverload()") panic("nsoverload()")

View file

@ -100,7 +100,6 @@ func main() {
panic("specialization(const char *, const char *)") panic("specialization(const char *, const char *)")
} }
// simple specialization // simple specialization
Xyz() Xyz()
Xyz_int() Xyz_int()
@ -144,7 +143,6 @@ func main() {
panic("overload(const char *)") panic("overload(const char *)")
} }
// everything put in a namespace // everything put in a namespace
if Nsoverload("hi") != 1000 { if Nsoverload("hi") != 1000 {
panic("nsoverload()") panic("nsoverload()")

View file

@ -49,7 +49,6 @@ func main() {
xz := template_default_arg.NewX_Foo_Z_8() xz := template_default_arg.NewX_Foo_Z_8()
_ = xz.Meth(fz) _ = xz.Meth(fz)
// Templated functions // Templated functions
// plain function: int ott(Foo<int>) // plain function: int ott(Foo<int>)

View file

@ -29,7 +29,6 @@ func main() {
panic(0) panic(0)
} }
// 'narrowing' also works // 'narrowing' also works
ddc := virtual_poly.NDoubleNarrow(d.Nnumber()) ddc := virtual_poly.NDoubleNarrow(d.Nnumber())
if d.Get() != ddc.Get() { if d.Get() != ddc.Get() {