source: trunk/testcase/throw.h@ 836

Last change on this file since 836 was 835, checked in by bird, 22 years ago

Extended testcase.

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 258 bytes
RevLine 
[835]1class expt
2{
3private:
4 int i;
5 const char *psz;
6
7public:
8 expt(int i, const char *psz);
9 int get() const;
10};
11
[834]12class bar
13{
14 int i;
15public:
16 bar(int i);
17 bar() throw(int);
18 int get() const;
[835]19 int getThrow() const throw(expt);
[834]20};
21
Note: See TracBrowser for help on using the repository browser.