PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/test/language/unclassified/pr1/a.e

http://github.com/tybor/Liberty
Specman e | 22 lines | 16 code | 5 blank | 1 comment | 0 complexity | 7af77ba5cd59ca4372520790718b13ec MD5 | raw file
 1class A
 2
 3inherit
 4   ANY
 5      redefine default_create
 6      end
 7
 8feature {ANY}
 9   default_create
10      do
11         label := "foo"
12      end
13
14   foo
15      do
16         print(label)
17         -- print_run_time_stack
18      end
19
20   label: STRING
21
22end