|
Last change
on this file since 859 was 837, checked in by bird, 22 years ago |
|
Extended testcase.
|
-
Property cvs2svn:cvs-rev
set to
1.3
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
345 bytes
|
| Rev | Line | |
|---|
| [837] | 1 |
|
|---|
| 2 | #if 0
|
|---|
| 3 | #define dfprintf(a) fprintf(a)
|
|---|
| 4 | #else
|
|---|
| 5 | #define dfprintf(a) do {} while(0)
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| [835] | 8 | class expt
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | int i;
|
|---|
| 12 | const char *psz;
|
|---|
| 13 |
|
|---|
| 14 | public:
|
|---|
| 15 | expt(int i, const char *psz);
|
|---|
| 16 | int get() const;
|
|---|
| 17 | };
|
|---|
| 18 |
|
|---|
| [834] | 19 | class bar
|
|---|
| 20 | {
|
|---|
| 21 | int i;
|
|---|
| 22 | public:
|
|---|
| 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.