summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/errorDetection/SelfContainment.ice
blob: d434bf3fc9234514b4ef37e7748c8ec416858e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

module Test
{

struct x
{
    int i;
    x j;        // Error
}

class y
{
    int i;
    y j;        // OK
}

}