ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 96ac72c was
0c13238,
checked in by Thierry Delisle <tdelisle@…>, 6 years ago
|
Aborts now create core dumps which are printed by the test harness.
- printing is done with gdb, print-core.gdb is the list of commands that will print
- since all core dumps are assumed to be call 'core' this doesn't handle fancy core patterns and has race conditions if multiple program core dump.
|
-
Property mode set to
100644
|
File size:
164 bytes
|
Line | |
---|
1 | #include <stdlib.h> |
---|
2 | |
---|
3 | int level3() { |
---|
4 | abort(); |
---|
5 | return 0; |
---|
6 | } |
---|
7 | |
---|
8 | int level2() { |
---|
9 | return level3(); |
---|
10 | } |
---|
11 | |
---|
12 | int level1() { |
---|
13 | return level2(); |
---|
14 | } |
---|
15 | |
---|
16 | int main() { |
---|
17 | return level1(); |
---|
18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.