warn.cxx 205 B

1234567891011121314151617
  1. static void unused_function();
  2. #ifdef __SUNPRO_CC
  3. struct A
  4. {
  5. virtual ~A() throw();
  6. };
  7. struct B : public A
  8. {
  9. virtual ~B() throw(int);
  10. };
  11. #endif
  12. int main(int unused_argument, char* [])
  13. {
  14. return 1;
  15. }