diff options
Diffstat (limited to 'tests/test_function_pointers.sh')
| -rw-r--r-- | tests/test_function_pointers.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_function_pointers.sh b/tests/test_function_pointers.sh new file mode 100644 index 0000000..c97a087 --- /dev/null +++ b/tests/test_function_pointers.sh @@ -0,0 +1,12 @@ +cat <<'EOF' > expected +EOF + +test_diff <<'EOF' +int* f(int a); +int (*f)(int a); + +extern int atexit (void (*) (void)); +extern int atexit (void (*fn) (void)); + +int main() {} +EOF |
