summaryrefslogtreecommitdiffstats
path: root/test/input
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-12 21:25:19 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-21 18:40:45 (GMT)
commit3c4ddceaaefede03146e864c5e567b20eaae6597 (patch)
tree7793bf1d0c825f37f94300d8dfebee8124b3ca38 /test/input
parent8894bed3e516fcabd82a349a61fce237570aa85e (diff)
downloadCastXML-3c4ddceaaefede03146e864c5e567b20eaae6597.zip
CastXML-3c4ddceaaefede03146e864c5e567b20eaae6597.tar.gz
CastXML-3c4ddceaaefede03146e864c5e567b20eaae6597.tar.bz2
Output: Generate ArrayType elements
Implement the OutputConstantArrayType and OutputIncompleteArrayType methods to generate the ArrayType element. Report the min="", max="", and type="" of the array elements and queue the type.
Diffstat (limited to 'test/input')
-rw-r--r--test/input/ArrayType-incomplete.cxx1
-rw-r--r--test/input/ArrayType.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/input/ArrayType-incomplete.cxx b/test/input/ArrayType-incomplete.cxx
new file mode 100644
index 0000000..d64de3b
--- /dev/null
+++ b/test/input/ArrayType-incomplete.cxx
@@ -0,0 +1 @@
+typedef int start[];
diff --git a/test/input/ArrayType.cxx b/test/input/ArrayType.cxx
new file mode 100644
index 0000000..6044ebe
--- /dev/null
+++ b/test/input/ArrayType.cxx
@@ -0,0 +1 @@
+typedef int start[2];