aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/parsing.c
diff options
context:
space:
mode:
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 24b954c1..8687d6aa 100644
--- a/test/regression/parsing.c
+++ b/test/regression/parsing.c
@@ -7,6 +7,12 @@ T f(T a(T)) {
T b;
return 1;
}
+
+T f1(T(x));
+T f1(T x) {
+ return x;
+}
+
int g(int x) {
T:;
T y;
@@ -96,6 +102,17 @@ void m() {
else printf("ERROR m\n");
}
+int j() {
+ T T;
+}
+
+int k() {
+ { T T; }
+ T t;
+ for(T T; ; );
+ T u;
+}
+
int main () {
f(g);
i();