support for a class of circular references
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@749 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/tests/46-redefine-OK.asn1.-PR b/tests/46-redefine-OK.asn1.-PR
index 7a2b69b..139fd6a 100644
--- a/tests/46-redefine-OK.asn1.-PR
+++ b/tests/46-redefine-OK.asn1.-PR
@@ -5,7 +5,6 @@
/*** <<< TYPE-DECLS [PrimitiveType] >>> ***/
-
typedef OCTET_STRING_t PrimitiveType_t;
/*** <<< FUNC-DECLS [PrimitiveType] >>> ***/
@@ -23,13 +22,8 @@
#include <PrimitiveType.h>
#include <constr_SEQUENCE.h>
-/*** <<< DEPS [ConstructedType] >>> ***/
-
-extern asn_TYPE_descriptor_t asn_DEF_ConstructedType;
-
/*** <<< TYPE-DECLS [ConstructedType] >>> ***/
-
typedef struct ConstructedType {
PrimitiveType_t field;
@@ -37,6 +31,10 @@
asn_struct_ctx_t _asn_ctx;
} ConstructedType_t;
+/*** <<< FUNC-DECLS [ConstructedType] >>> ***/
+
+extern asn_TYPE_descriptor_t asn_DEF_ConstructedType;
+
/*** <<< STAT-DEFS [ConstructedType] >>> ***/
static asn_TYPE_member_t asn_MBR_ConstructedType_1[] = {
@@ -91,7 +89,6 @@
/*** <<< TYPE-DECLS [T] >>> ***/
-
typedef ConstructedType_t T_t;
/*** <<< FUNC-DECLS [T] >>> ***/