ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
Last change
on this file since 01f78e0 was
d00d581,
checked in by Henry Xue <y58xue@…>, 3 years ago
|
Update exception tests to use new syntax
|
-
Property mode set to
100644
|
File size:
226 bytes
|
Rev | Line | |
---|
[b2de2e0] | 1 | // Check that the exception type check works. |
---|
| 2 | |
---|
[d00d581] | 3 | exception truth {}; |
---|
[b2de2e0] | 4 | |
---|
| 5 | int main(int argc, char * argv[]) { |
---|
| 6 | try {} catch (int e) {} |
---|
| 7 | try {} catch (truth & e) {} |
---|
| 8 | try {} catchResume (int e) {} |
---|
| 9 | try {} catchResume (truth & e) {} |
---|
| 10 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.