ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since e67a82d was
b2de2e0,
checked in by Andrew Beach <ajbeach@…>, 4 years ago
|
Improved the check of the catch[Resume] exception declaration.
|
-
Property mode set to
100644
|
File size:
258 bytes
|
Rev | Line | |
---|
[b2de2e0] | 1 | // Check that the exception type check works. |
---|
| 2 | |
---|
| 3 | #include <exception.hfa> |
---|
| 4 | |
---|
| 5 | TRIVIAL_EXCEPTION(truth); |
---|
| 6 | |
---|
| 7 | int main(int argc, char * argv[]) { |
---|
| 8 | try {} catch (int e) {} |
---|
| 9 | try {} catch (truth & e) {} |
---|
| 10 | try {} catchResume (int e) {} |
---|
| 11 | try {} catchResume (truth & e) {} |
---|
| 12 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.