summaryrefslogtreecommitdiff
path: root/cpp/test/FreezeScript/dbmap/fail/18_new.ice
blob: dfad7f8981b0db23cce958b657208cb6e6f237c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Test
{

class C1 {};
class C2 extends C1 {};
class C3 {};

struct S
{
    C3 m1;
    C2 m2; // FAIL
    C1 m3;
    Object m4;
};

};