diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-27 16:15:11 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-27 16:15:11 -0700 |
commit | 9b52864932ec81033b5c9d34a81828d54192b958 (patch) | |
tree | 0ff70afba3dfa895f31a6940468123e1fa69704a /test/abstract-function-declarator.c | |
parent | 231137aceb65c4b1ca0b54dd599f1f8b8c5c9342 (diff) |
Fix some function declarator corner cases
Diffstat (limited to 'test/abstract-function-declarator.c')
-rw-r--r-- | test/abstract-function-declarator.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/abstract-function-declarator.c b/test/abstract-function-declarator.c new file mode 100644 index 0000000..b6808a6 --- /dev/null +++ b/test/abstract-function-declarator.c @@ -0,0 +1,16 @@ +typedef int x; + +void f1(int(x)); +void f1(int (*)(int)); + +void f2(int(y)); +void f2(int); + +void f3(int((*))); +void f3(int *); + +void f4(int((*x))); +void f4(int *); + +void f5(int((x))); +void f5(int (*)(int)); |