~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to src/relooper/test_fuzz2.txt

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
 
3
3
print('entry'); var label; var state; var decisions = [4, 1, 4, 3, 4, 1, 2, 5, 1, 3, 5, 5, 1, 5, 2, 4, 4, 3]; var index = 0; function check() { if (index == decisions.length) throw 'HALT'; return decisions[index++] }
4
 
if (state == 1) {
5
 
  while(1) {
6
 
    print(1); state = check();
7
 
  }
 
4
switch (the_var) {
 
5
state == 1 {
 
6
 while(1) {
 
7
  print(1); state = check();
 
8
  switch (the_var) {
 
9
  default: {
 
10
  }
 
11
  }
 
12
 }
 
13
 break;
 
14
}
 
15
default: {
 
16
}
8
17
}
9
18
while(1) {
10
 
  print(3); state = check();
11
 
  print(2); state = check();
 
19
 print(3); state = check();
 
20
 switch (the_var) {
 
21
 default: {
 
22
 }
 
23
 }
 
24
 print(2); state = check();
 
25
 switch (the_var) {
 
26
 default: {
 
27
 }
 
28
 }
12
29
}
13
30