From be1e85934d39b7d0d8ef481593c0c4cbae333310 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Sat, 21 Mar 2020 12:51:12 -0500 Subject: ast2 forward declaration support --- tests/include/tast2.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/include') diff --git a/tests/include/tast2.h b/tests/include/tast2.h index 5cabfac..e9339ae 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -14,6 +14,11 @@ typedef int *A6; typedef A0 **A7; typedef void *A8; +// Forward declaration +struct A0 { + int f1; +}; + typedef char *A9p[3]; //, A9[4]; typedef char *A10[3][6]; typedef char *(*A11)[3]; @@ -67,6 +72,11 @@ typedef int *A6; typedef A0 **A7; typedef void *A8; +// Forward declaration +struct A0 { + int f1; +}; + typedef char *A9p[3]; //, A9[4]; typedef char *A10[3][6]; typedef char *(*A11)[3]; -- cgit v1.2.3