Ignore:
Timestamp:
Oct 24, 2003, 9:19:00 AM (22 years ago)
Author:
bird
Message:

Extended testcase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testcase/throw2.cpp

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r834 r835  
    1717    return i;
    1818}
     19
     20int bar::getThrow() const throw(expt)
     21{
     22    throw(expt(1, ""));
     23    return 1;
     24}
     25
     26
     27
     28expt::expt(int i, const char *psz) : i(i), psz(psz)
     29{
     30
     31}
     32
     33int expt::get() const
     34{
     35    return i;
     36}
     37
     38
Note: See TracChangeset for help on using the changeset viewer.