conformance_test/positive_tests added
[deliverable/titan.core.git] / conformance_test / positive_tests / 27_specifying_attributes / 2701_attribute_mechanism / 270101_scope_of_attributes / Syn_270101_ScopeOfAttributes_002.ttcn
1 /******************************************************************************
2 * Copyright (c) 2000-2016 Ericsson Telecom AB
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Adrien Kirjak – initial implementation
10 *
11 ** @version 0.0.1
12 ** @purpose 1:27.1.1, Ensure that attributes for language elements are accepted.
13 ** @verdict pass accept, noexecution
14 *****************************************************************/
15
16 module Syn_270101_ScopeOfAttributes_002 {
17
18 type record MyRecord {
19 integer field1,
20 record {
21 integer innerField1,
22 boolean innerField2
23 } field2
24 }
25 with {
26 display "colour red";
27 extension "MyRule"
28 }
29
30 type component GeneralComp {}
31
32 testcase TC_Syn_270101_ScopeOfAttributes_002() runs on GeneralComp
33 { setverdict(pass); }
34
35 control
36 { execute(TC_Syn_270101_ScopeOfAttributes_002()); }
37
38 }
This page took 0.032957 seconds and 5 git commands to generate.