support for a class of circular references
diff --git a/tests/60-any-OK.asn1.-P b/tests/60-any-OK.asn1.-P
index f52ad81..ed23340 100644
--- a/tests/60-any-OK.asn1.-P
+++ b/tests/60-any-OK.asn1.-P
@@ -5,13 +5,8 @@
#include <ANY.h>
#include <constr_SEQUENCE.h>
-/*** <<< DEPS [T1] >>> ***/
-
-extern asn_TYPE_descriptor_t asn_DEF_T1;
-
/*** <<< TYPE-DECLS [T1] >>> ***/
-
typedef struct T1 {
INTEGER_t i;
ANY_t any;
@@ -20,6 +15,10 @@
asn_struct_ctx_t _asn_ctx;
} T1_t;
+/*** <<< FUNC-DECLS [T1] >>> ***/
+
+extern asn_TYPE_descriptor_t asn_DEF_T1;
+
/*** <<< STAT-DEFS [T1] >>> ***/
static asn_TYPE_member_t asn_MBR_T1_1[] = {
@@ -81,13 +80,8 @@
#include <ANY.h>
#include <constr_SEQUENCE.h>
-/*** <<< DEPS [T2] >>> ***/
-
-extern asn_TYPE_descriptor_t asn_DEF_T2;
-
/*** <<< TYPE-DECLS [T2] >>> ***/
-
typedef struct T2 {
INTEGER_t i;
ANY_t *any /* OPTIONAL */;
@@ -96,6 +90,10 @@
asn_struct_ctx_t _asn_ctx;
} T2_t;
+/*** <<< FUNC-DECLS [T2] >>> ***/
+
+extern asn_TYPE_descriptor_t asn_DEF_T2;
+
/*** <<< STAT-DEFS [T2] >>> ***/
static asn_TYPE_member_t asn_MBR_T2_1[] = {