aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/testCase644.vm
blob: 031417628a99dd3579458e86172e515f3eb0a078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#macro(arrayError)
  #set($foo = [])
  $foo.get(2)
#end

#macro(nullMethod)
  #set($foo = $NULL)
  $foo.bar
#end

#macro(badRef)
  $bar
#end

#macro(forloop)
  #set($val = 1)
  #foreach($i in $val)
  #end
#end