summaryrefslogtreecommitdiff
path: root/test/CodeGen/2009-06-01-addrofknr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/2009-06-01-addrofknr.c')
-rw-r--r--test/CodeGen/2009-06-01-addrofknr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/2009-06-01-addrofknr.c b/test/CodeGen/2009-06-01-addrofknr.c
index 16a5bbffc3afe..d51a4a47b4788 100644
--- a/test/CodeGen/2009-06-01-addrofknr.c
+++ b/test/CodeGen/2009-06-01-addrofknr.c
@@ -2,20 +2,20 @@
// PR4289
struct funcptr {
- int (*func)();
+ int (*func)();
};
static int func(f)
- void *f;
+ void *f;
{
+ return 0;
}
int
main(int argc, char *argv[])
{
- struct funcptr fp;
+ struct funcptr fp;
- fp.func = &func;
- fp.func = func;
+ fp.func = &func;
+ fp.func = func;
}
-