Skip to content
Snippets Groups Projects
Commit b602ac80 authored by Ben Franksen's avatar Ben Franksen
Browse files

test: added some comments to funcdef.st and funcdefShadowGlobal.st

parent 80e84b22
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,7 @@ void *f1a()
return 0;
}
/* forward declarations */
void *f2(void *x, double **d);
/* forward declarations (not needed but allowed) */
void pvSetX(int val);
ss simple {
......
......@@ -7,7 +7,7 @@ assign x;
void pvSetX(int x)
{
pvPut(x);
pvPut(x); /* error: parameter 1 to 'pvPut' was not assigned to a pv */
}
ss simple {
......
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