diff options
-rw-r--r-- | test/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c b/test/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c new file mode 100644 index 0000000000..da52cbcd75 --- /dev/null +++ b/test/CFrontend/2004-06-18-VariableLengthArrayOfStructures.c @@ -0,0 +1,8 @@ + +struct S { }; + +int xxxx(int a) { + struct S comps[a]; + comps[0]; +} + |