forked from rems-project/sail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
248 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
function a () -> int = { | ||
*R = baz; // comment | ||
// comment | ||
1// comment | ||
// comment | ||
// comment | ||
/* com- | ||
ment */ | ||
} | ||
|
||
// comment | ||
|
||
function b () -> int = { | ||
let a = { | ||
1; | ||
// comment | ||
}; | ||
|
||
let b = { | ||
1;// comment | ||
}; | ||
|
||
let c = { | ||
1;// comment | ||
// comment | ||
}; | ||
|
||
let d = { | ||
1;// comment | ||
// comment | ||
};// comment | ||
|
||
let f = { | ||
let g1 = { | ||
1// comment | ||
}; | ||
|
||
let g2 = { | ||
1 | ||
// comment | ||
}; | ||
|
||
let g3 = { | ||
1// comment | ||
// comment | ||
}// comment | ||
}; | ||
|
||
}; | ||
|
||
1 | ||
// comment | ||
} | ||
|
||
let c=1 | ||
// comment | ||
let c2=1// comment | ||
|
||
|
||
let d ={ | ||
1 | ||
// comment | ||
}// comment | ||
|
||
// comment | ||
|
||
// comment | ||
|
||
|
||
// comment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
function a () -> int = { | ||
*R = baz; // comment | ||
|
||
// comment | ||
1 // comment | ||
// comment | ||
// comment | ||
/* com- | ||
ment */ | ||
} | ||
|
||
// comment | ||
function b () -> int = { | ||
let a = { | ||
1 | ||
// comment | ||
}; | ||
|
||
let b = { | ||
1 // comment | ||
}; | ||
|
||
let c = { | ||
1 // comment | ||
// comment | ||
}; | ||
|
||
let d = { | ||
1 // comment | ||
// comment | ||
}; // comment | ||
|
||
let f = { | ||
let g1 = { | ||
1 // comment | ||
}; | ||
|
||
let g2 = { | ||
1 | ||
// comment | ||
}; | ||
|
||
let g3 = { | ||
1 | ||
// comment | ||
// comment | ||
} | ||
}; | ||
|
||
1 | ||
// comment | ||
} | ||
|
||
let c = 1 | ||
|
||
// comment | ||
let c2 = | ||
1 // comment | ||
let d = | ||
{ | ||
1 | ||
// comment | ||
} | ||
|
||
// comment | ||
// comment | ||
// comment | ||
function block_return_with_tralling_space () -> int = { | ||
1 // comment | ||
// comment | ||
} | ||
|
||
function block_return_without_tralling_space () -> int = { | ||
1 | ||
// comment | ||
} | ||
|
||
// comment | ||
// comment | ||
// comment | ||
// comment |