diff options
Diffstat (limited to 'test/const-array.c')
-rw-r--r-- | test/const-array.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/const-array.c b/test/const-array.c new file mode 100644 index 0000000..c2bfe46 --- /dev/null +++ b/test/const-array.c @@ -0,0 +1,5 @@ +/* C11 6.7.3p9 - type qualifiers on array type qualify the element type */ +typedef int T[2]; +void f(const T x) { + x = 0; +} |