aboutsummaryrefslogtreecommitdiffstats
path: root/tests/126-per-extensions-OK.asn1.-Pgen-PER
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2013-03-27 01:56:23 -0700
committerLev Walkin <vlm@lionet.info>2013-03-27 01:56:23 -0700
commit2a744a747082995dec6f524368807391e0baa569 (patch)
treeb472e9f10a52e5e638945a827541c4f2c4412e2b /tests/126-per-extensions-OK.asn1.-Pgen-PER
parent11c9a8c7edfc1dbff68c1630bf00f4eb9de24e04 (diff)
Behavior of -fnative-types made default; old behavior saved under -fwide-types
Diffstat (limited to 'tests/126-per-extensions-OK.asn1.-Pgen-PER')
-rw-r--r--tests/126-per-extensions-OK.asn1.-Pgen-PER14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/126-per-extensions-OK.asn1.-Pgen-PER b/tests/126-per-extensions-OK.asn1.-Pgen-PER
index 91aac0cc..2bb515f1 100644
--- a/tests/126-per-extensions-OK.asn1.-Pgen-PER
+++ b/tests/126-per-extensions-OK.asn1.-Pgen-PER
@@ -222,7 +222,7 @@ asn_TYPE_descriptor_t asn_DEF_Singleton = {
/*** <<< INCLUDES [PDU-2] >>> ***/
-#include <INTEGER.h>
+#include <NativeInteger.h>
#include <constr_CHOICE.h>
/*** <<< DEPS [PDU-2] >>> ***/
@@ -240,13 +240,13 @@ typedef enum PDU_2_PR {
typedef struct PDU_2 {
PDU_2_PR present;
union PDU_2_u {
- INTEGER_t main;
+ long main;
/*
* This type is extensible,
* possible extensions are below.
*/
- INTEGER_t ext1;
- INTEGER_t ext0;
+ long ext1;
+ long ext0;
} choice;
/* Context for parsing across buffer boundaries */
@@ -271,7 +271,7 @@ static asn_TYPE_member_t asn_MBR_PDU_2_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct PDU_2, choice.main),
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
- .type = &asn_DEF_INTEGER,
+ .type = &asn_DEF_NativeInteger,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
@@ -280,7 +280,7 @@ static asn_TYPE_member_t asn_MBR_PDU_2_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct PDU_2, choice.ext1),
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
- .type = &asn_DEF_INTEGER,
+ .type = &asn_DEF_NativeInteger,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,
@@ -289,7 +289,7 @@ static asn_TYPE_member_t asn_MBR_PDU_2_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct PDU_2, choice.ext0),
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
- .type = &asn_DEF_INTEGER,
+ .type = &asn_DEF_NativeInteger,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.per_constraints = 0, /* No PER visible constraints */
.default_value = 0,