diff options
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/filter/test.conf b/filter/test.conf index 616dbc5..e42fead 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -8,7 +8,7 @@ router id 62.168.0.1; define xyzzy = 120+10; -function callme ( int arg1; int arg2 ) +function callme(int arg1; int arg2) int local1; int local2; int i; @@ -23,7 +23,13 @@ int i; } } -function startup () +function fifteen() +{ + print "fifteen called"; + return 15; +} + +function startup() int i; prefix px; ip p; @@ -58,6 +64,9 @@ ip p; callme ( 4, 2 ); callme ( 7, 2 ); + i = fifteen(); + print "Testing function calls: 15 = " i; + print "done"; quitbird; # print "*** FAIL: this is unreachable"; |