/****************************************************************************** * Copyright (c) 2000-2015 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ******************************************************************************/ module encode_SE { type integer AnInt with { encode "nonexistent" }; //^error\: No custom decoding function found for type// type record ARecord { //^error\: No custom decoding function found for type// integer i, octetstring os } control { var ARecord x; var AnInt y; var bitstring bs := '110'B; if (decvalue(bs, y) != 0) {} if (decvalue(bs, x) != 0) {} } } with { encode "whatever" }