source: trunk/testcase/throw.h@ 2544

Last change on this file since 2544 was 1417, checked in by bird, 21 years ago

.

  • Property cvs2svn:cvs-rev set to 1.4
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 344 bytes
RevLine 
[837]1
[1417]2#if 1
3#define dfprintf(a) fprintf a
[837]4#else
5#define dfprintf(a) do {} while(0)
6#endif
7
[835]8class expt
9{
10private:
11 int i;
12 const char *psz;
13
14public:
15 expt(int i, const char *psz);
16 int get() const;
17};
18
[834]19class bar
20{
21 int i;
22public:
23 bar(int i);
24 bar() throw(int);
25 int get() const;
[835]26 int getThrow() const throw(expt);
[834]27};
28
Note: See TracBrowser for help on using the repository browser.