/ncc/testsuite/frommcs/gtest-129.n

http://github.com/xxVisorxx/nemerle · Unknown · 36 lines · 31 code · 5 blank · 0 comment · 0 complexity · a93003c69234d9526c91fd25ab23c194 MD5 · raw file

  1. namespace B
  2. {
  3. using C;
  4. partial class Test [T]
  5. where T : IA, IB
  6. { }
  7. }
  8. namespace B
  9. {
  10. partial class Test [T]
  11. where T : C.IB, C.IA
  12. { }
  13. }
  14. namespace B
  15. {
  16. partial class Test [T]
  17. { }
  18. }
  19. class X
  20. {
  21. static Main () : void
  22. { }
  23. }
  24. namespace C {
  25. interface IA { }
  26. interface IB { }
  27. }
  28. /*
  29. BEGIN-OUTPUT
  30. END-OUTPUT
  31. */