diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/abstract-function-declarator.c | 16 | ||||
-rw-r--r-- | test/abstract-function-declarator.qbe | 0 |
2 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)); diff --git a/test/abstract-function-declarator.qbe b/test/abstract-function-declarator.qbe new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/abstract-function-declarator.qbe |