qualification-printout.azsl 451 B

1234567891011121314151617181920
  1. class A
  2. {
  3. void MethodA();
  4. };
  5. class B
  6. {
  7. class A
  8. {
  9. void MethodA();
  10. };
  11. void M()
  12. {
  13. A::MethodA();
  14. __azslc_print_message("@check predicate "); // notify the tester to wait for an expression
  15. __azslc_print_symbol(A::MethodA, __azslc_prtsym_fully_qualified);
  16. __azslc_print_message(" == /B/A/MethodA\n"); // the compiler will output this, so the tester script can use it as an assert.
  17. }
  18. };