File:  [parser3project] / parser3 / tests / httpd / code-cache / site / cached.p
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Oct 5 23:31:56 2026 UTC (2 weeks, 5 days ago) by moko
Branches: MAIN
CVS tags: HEAD
tests for code caching in httpd mode (related to feature #1302)

@CLASS
Cached

@OPTIONS
partial

@hello[]
hello from cached.p

@fail[]
^throw[test;;failed in cached.p]


@CLASS
Counter

@auto[]
$count(0)

@inc[]
$count($count+1)
$result($count)


@CLASS
Options

@OPTIONS
partial
locals

@check[]
$result[^if(def $Options:y){LEAKED}{kept}]

E-mail: