diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-05-07 00:38:43 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-05-07 00:38:43 -0500 |
| commit | e851a9adf3d5dbc67886e02150ef873ac02d670f (patch) | |
| tree | 5685140e6f6924ccf772afc4d762c8589f7be4c5 /tests/include | |
| parent | 62f5dc121b6b66b6e80500ce044666ae4b11d7c6 (diff) | |
| download | nimterop-e851a9adf3d5dbc67886e02150ef873ac02d670f.tar.gz nimterop-e851a9adf3d5dbc67886e02150ef873ac02d670f.zip | |
Support for type qualifier after type
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/test.c | 2 | ||||
| -rw-r--r-- | tests/include/test.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/include/test.c b/tests/include/test.c index 8990df9..d67fd92 100644 --- a/tests/include/test.c +++ b/tests/include/test.c @@ -50,7 +50,7 @@ int test_call_param7(union UNION1 param1) { return param1.field1; } -float test_call_param8(int *param1) { +float test_call_param8(int volatile *param1) { *param1 = 5 * *param1; return 1.0 * *param1; diff --git a/tests/include/test.h b/tests/include/test.h index 8138e54..73eb951 100644 --- a/tests/include/test.h +++ b/tests/include/test.h @@ -109,7 +109,7 @@ ENUM2 test_call_param4(enum ENUM param1); union UNION1 test_call_param5(float param1); unsigned char test_call_param6(UNION2 param1); int test_call_param7(union UNION1 param1); -float test_call_param8(int *param1); +float test_call_param8(int volatile *param1); void *test_call9(); void **test_call10(int **param1); |
