Commit 4ecc177a authored by Michael Sammler's avatar Michael Sammler
Browse files

add test function with fn_params in parameters

parent 9819dcb6
Pipeline #52215 passed with stage
in 32 minutes and 38 seconds
......@@ -139,3 +139,12 @@ struct test test_struct_return() {
test.a = 1;
return test;
typedef void (*test_fn)(void);
[[rc::parameters("spec : {unit → fn_params}")]]
test_fn test_fn_params(test_fn f) {
return f;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment