- Timestamp:
- 02/27/10 09:18:29 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Tests/140-structs/300-type-decl-clauses.cobra
r1946 r2291 4 4 use System.Collections 5 5 6 class TestAttribute inherits Attribute6 class FooAttribute inherits Attribute 7 7 pass 8 8 9 class Test2Attribute inherits Attribute9 class Foo2Attribute inherits Attribute 10 10 pass 11 11 … … 18 18 pass 19 19 20 struct C has Testis internal20 struct C has Foo is internal 21 21 22 22 pass 23 23 24 struct D is internal has Test24 struct D is internal has Foo 25 25 pass 26 26 27 27 struct E is internal 28 28 29 has Test29 has Foo 30 30 31 31 pass … … 34 34 35 35 36 has Test36 has Foo 37 37 pass 38 38 39 struct G is internal implements IDisposable has Test39 struct G is internal implements IDisposable has Foo 40 40 def dispose 41 41 pass 42 42 43 struct H implements IDisposable, IEnumerable has Test, Test2 is public43 struct H implements IDisposable, IEnumerable has Foo, Foo2 is public 44 44 def dispose 45 45 pass … … 49 49 struct I 50 50 implements IDisposable 51 has Test51 has Foo 52 52 is public 53 53 def dispose



