mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
committed by
GitHub
parent
4a50de8318
commit
cc9ca35e04
12
test/test_suite/builtins/trap.c3t
Normal file
12
test/test_suite/builtins/trap.c3t
Normal file
@@ -0,0 +1,12 @@
|
||||
module test;
|
||||
|
||||
fn void main()
|
||||
{
|
||||
$$breakpoint();
|
||||
$$trap();
|
||||
}
|
||||
|
||||
/* #expect: test.ll
|
||||
|
||||
call void @llvm.debugtrap()
|
||||
call void @llvm.trap()
|
||||
Reference in New Issue
Block a user