vox ~master (2022-05-02T18:23:10Z)
Dub
Repo
ctfe2
tests
ctfe
Undocumented in source.
immutable
@
TestInfo
(&
tester2
)
auto
ctfe2
=
q{
---
ctfe2
// Parameter and vreg
i32
func
(
i32
param
) {
return
param
; }
enum
i32
val
=
func
(
42
);
// CTFE
i32
run
() {
return
val
;
// returns 42
}
}
;
Meta
Source
See Source File
tests
ctfe
functions
ctfeTests
tester1
tester2
tester3
tester4
tester5
tester6
variables
ctfe1
ctfe2
ctfe3
ctfe4
ctfe5
ctfe6