X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/3b10bbd3a88d6e16146414d91d06bb2f36347bfc..dd11885aadcfaafae2d6268c381b0aac94cbc149:/src/test.gob diff --git a/src/test.gob b/src/test.gob index 402f69c..98d8614 100644 --- a/src/test.gob +++ b/src/test.gob @@ -167,7 +167,7 @@ class Gtk:Weird:Button from Gtk:Button { *zblunk*******//**//**/ signal first NONE (NONE) void bloh(self); - virtual void * bah(self, int h (check > 0)) onerror NULL { + virtual void * bah(self, int h (check > 0)) onerror NULL defreturn 0 { beh(self,h); return NULL; } @@ -273,10 +273,18 @@ class Gtk:Weird:Button from Gtk:Button { } public signal (NO_HOOKS) last INT (INT) - int testflags(self, int w (check > 0)) { + int testflags(self, int w (check > 0)) defreturn -99 { /*foo*/ return w; } + + /* testing NONE */ + signal BOOL (NONE) + gboolean + test_none_thing (self) + { + return FALSE; + } /* testing empty statements */ ; ;