diff options
-rw-r--r-- | test/PCH/stmts.h | 3 | ||||
-rw-r--r-- | test/PCH/types.c | 2 | ||||
-rw-r--r-- | test/PCH/types.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/test/PCH/stmts.h b/test/PCH/stmts.h index 367a2837cf..4267e2c2b3 100644 --- a/test/PCH/stmts.h +++ b/test/PCH/stmts.h @@ -64,6 +64,9 @@ int f1(int x) { break; } + // variable-length array + int array[x * 17 + 3]; + return x*2; } diff --git a/test/PCH/types.c b/test/PCH/types.c index 6463eb1d51..c111c9ea74 100644 --- a/test/PCH/types.c +++ b/test/PCH/types.c @@ -36,7 +36,7 @@ five_ints fvi = { 1, 2, 3, 4, 5 }; float_array fa1 = { 1, 2, 3 }; float_array fa2 = { 1, 2, 3, 4, 5, 6, 7, 8 }; -// FIXME: TYPE_VARIABLE_ARRAY +// TYPE_VARIABLE_ARRAY in stmts.[ch] // TYPE_VECTOR float4 f4 = { 1.0, 2.0, 3.0, 4.0 }; diff --git a/test/PCH/types.h b/test/PCH/types.h index fbf83c9ce8..df9f5c8607 100644 --- a/test/PCH/types.h +++ b/test/PCH/types.h @@ -20,7 +20,7 @@ typedef int five_ints[5]; // TYPE_INCOMPLETE_ARRAY typedef float float_array[]; -// FIXME: TYPE_VARIABLE_ARRAY +// TYPE_VARIABLE_ARRAY in stmts.[ch] // TYPE_VECTOR typedef float float4 __attribute__((vector_size(16))); |