Skip to content
Snippets Groups Projects
Commit 44925757 authored by benjamin.franksen's avatar benjamin.franksen
Browse files

test: check that an empty argument list is treated as (void)

parent 8480e045
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ ss simple {
state simple {
when () {
void *p = f1();
p = f2(p,0);
p = f2(p,(double **)f1a);
pvSetX(1.0);
} exit
}
......@@ -20,6 +20,11 @@ void *f1(void)
return 0;
}
void *f1a()
{
return 0;
}
void *f2(void *x, double **d)
{
void *(*f)(void) = (void *(*)(void))x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment