summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/seven.stp
blob: 8f692958fa1054db3c09e9ead48f2e53ab084766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! stap -p1

probe one { if (1) {} }
probe two { if (2) {;} }
probe three { if (3) ; }
probe four { if (4) {} else ; }
probe five { if (5) ; else {} }
probe six { if (6) {} else {;} }
probe seven { ; }
probe eight { {} }
probe nine { {;} }
probe ten { a=1; }

probe all
{
  if (1) {}                ;
  if (2) {;}               ;
  if (3) ;                 ;
  if (4) {} else ;         ;
  if (5) ; else {}         ;
  if (6) {} else {;}       ;
  ;                        ;
  {}                       ;
  {;}                      ;
  a=1
}