diff options
Diffstat (limited to 'cpp/test/Ice/impl/Test.ice')
-rw-r--r-- | cpp/test/Ice/impl/Test.ice | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/test/Ice/impl/Test.ice b/cpp/test/Ice/impl/Test.ice index 8b331ec2b50..35a26eb85eb 100644 --- a/cpp/test/Ice/impl/Test.ice +++ b/cpp/test/Ice/impl/Test.ice @@ -19,21 +19,21 @@ enum MyEnum enum1, enum2, enum3 -}; +} interface MyClass; struct AnotherStruct { string s; -}; +} struct Structure { MyClass* p; MyEnum e; AnotherStruct s; -}; +} sequence<byte> ByteS; sequence<bool> BoolS; @@ -64,7 +64,7 @@ struct MyStruct { int i; int j; -}; +} dictionary<byte, bool> ByteBoolD; dictionary<short, int> ShortIntD; @@ -92,7 +92,7 @@ dictionary<string, DoubleS> StringDoubleSD; dictionary<string, StringS> StringStringSD; dictionary<MyEnum, MyEnumS> MyEnumMyEnumSD; -exception SomeException {}; +exception SomeException {} interface MyClass { @@ -262,28 +262,28 @@ interface MyClass ["marshaled-result"] StringStringD opMDict1(); ["marshaled-result"] StringStringD opMDict2(StringStringD p1, out StringStringD p2); -}; +} struct MyStruct1 { string tesT; // Same name as the enclosing module MyClass myClass; // Same name as an already defined class string myStruct1; // Same name as the enclosing struct -}; +} class MyClass1 { string tesT; // Same name as the enclosing module MyClass myClass; // Same name as an already defined class string myClass1; // Same name as the enclosing class -}; +} interface MyDerivedClass extends MyClass { void opDerived(); MyClass1 opMyClass1(MyClass1 opMyClass1); MyStruct1 opMyStruct1(MyStruct1 opMyStruct1); -}; +} // // String literals @@ -422,4 +422,4 @@ const ["cpp:type:wstring"]string wsu0 = "ĨŸÿĀἀ𐆔𐅪𐆘🍀🍁🍂🍃 const ["cpp:type:wstring"]string wsu1 = "\u0128\u0178\u00FF\u0100\u1F00\U00010194\U0001016A\U00010198\U0001F340\U0001F341\U0001F342\U0001F343"; const ["cpp:type:wstring"]string wsu2 = "\U00000128\U00000178\U000000FF\U00000100\U00001F00\U00010194\U0001016A\U00010198\U0001F340\U0001F341\U0001F342\U0001F343"; -}; +} |