Comments (2)
Thinking twice, it is normal for the print
statement to be executed twice. However, the fatal error is an actual bug.
from herdtools7.
Here is a simpler example:
ASL U
{ }
type Coucou of exception {};
func f(a:integer) => integer
begin
let b = SomeBoolean();
if b then
throw Coucou { };
end
return a;
end
func main() => integer
begin
let x=0;
try
let z = f(x);
print(z);
catch
when Coucou =>
assert TRUE;
end
return 0;
end
Running the test above, we have:
% herd7 U.litmus
0
0
Warning: Uncaught exception: Coucou {}
from herdtools7.
Related Issues (20)
- Is GPU_PTX still supported? HOT 2
- ASL: ASL v0 implicit declarations must be hoisted to highest legal scope HOT 2
- ROR shift type implementation HOT 8
- herd7 on a litmus test with a loop never terminates (expected?) HOT 3
- [gen] oneloc tests with wrong post condition HOT 2
- About the counter-intuitive herd7 simulation result for CoRW1+fence.rw.rwspx.litmus HOT 2
- herd7 cant recognize the general register of RISCV in standard litmus file HOT 2
- [Litmus] Test ISA-DEP-WR-ADDR failed in Litmus 7.56.3. HOT 8
- [ASL] Remove LDUninitialisedTuple
- [Raspbian] Building with "make all" crashes on RPi 4 HOT 3
- [ASL] global variables and function clashing HOT 1
- Escape characters not working in string literals
- [herd] No fault on crossing memtag granularity HOT 1
- Are the verification conditions unique in the tests generated by diyone7? HOT 5
- Add support for BPF Architecture HOT 10
- [herd] SVE Vector ADD instruction does not operate element-wise HOT 3
- Implementation of atomic_add_unless
- diyone7 Fatal error:failed:Observer HOT 1
- [diy7] C code generation HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from herdtools7.