diff options
author | Michael Forney <mforney@mforney.org> | 2019-07-07 19:08:53 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-07-07 19:08:58 -0700 |
commit | 3f8a5efa9f94090dfc4f171858b5ed6812109289 (patch) | |
tree | 16b4c1aa958c6556721c48d99f44dfd0efa9be28 /test | |
parent | ae89197f69f4cf9bd83a8ded2a6dab8aa385c71f (diff) | |
download | cproc-3f8a5efa9f94090dfc4f171858b5ed6812109289.tar.xz |
type: Ignore parameter qualifiers when determining type compatibility
The end of C11 6.7.6.3p15 says that qualifiers should be ignored when
checking compatibility of function types.
Diffstat (limited to 'test')
-rw-r--r-- | test/compatible-function-types.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/compatible-function-types.c b/test/compatible-function-types.c index 0e63a1c..4dcd877 100644 --- a/test/compatible-function-types.c +++ b/test/compatible-function-types.c @@ -15,3 +15,6 @@ void f5(unsigned, double); void f6(const char *, ...); void f6(const char[], ...); + +void f7(const int); +void f7(int); |