aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/parsing.c
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2016-03-23 10:59:35 +0100
committerBernhard Schommer <bschommer@users.noreply.github.com>2016-03-23 10:59:35 +0100
commitccd59f7fc19ffe2347724b532d6ce13c8580c2ab (patch)
tree3c8f2643fe658a9126bdeae05324dc301e7321f7 /test/regression/parsing.c
parentd25405f247b2b94527393eba4c79a56291a7fd80 (diff)
parentd0af92096242ff6e452c726d682295145189e848 (diff)
downloadcompcert-ccd59f7fc19ffe2347724b532d6ce13c8580c2ab.tar.gz
compcert-ccd59f7fc19ffe2347724b532d6ce13c8580c2ab.zip
Merge pull request #94 from jhjourdan/parentherized_fun
Fix a bug in the pre-parser.
Diffstat (limited to 'test/regression/parsing.c')
-rw-r--r--test/regression/parsing.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regression/parsing.c b/test/regression/parsing.c
index f8ba2a73..2d48687b 100644
--- a/test/regression/parsing.c
+++ b/test/regression/parsing.c
@@ -162,6 +162,23 @@ void (*krk(a, b, c))(int)
int hhh(int());
+int (testparen)(int T) {
+ return T;
+}
+
+int (testparen2(int T)) {
+ return T;
+}
+
+int ((testparen3)(int T)) {
+ return T;
+}
+
+int ((((((((((testparen10))))))))))(int T) {
+ return T;
+}
+
+
int main () {
f(g);
i();