source: tests/abort.cfa @ 65a7050

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 65a7050 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
RevLine 
[0c13238]1#include <stdlib.h>
2
3int level3() {
4        abort();
5        return 0;
6}
7
8int level2() {
9        return level3();
10}
11
12int level1() {
13        return level2();
14}
15
16int main() {
17        return level1();
18}
Note: See TracBrowser for help on using the repository browser.