Changeset 9b20126 in mainline for uspace/lib/pcut/tests/teardownaborts.c
- Timestamp:
- 2014-09-19T08:23:01Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c85a57f
- Parents:
- 15d0046
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/tests/teardownaborts.c
r15d0046 r9b20126 29 29 #include <stdio.h> 30 30 #include <pcut/pcut.h> 31 #include "tested.h"31 #include <stdlib.h> 32 32 33 33 PCUT_INIT 34 34 35 35 PCUT_TEST_AFTER { 36 int a = 5; 37 int *p = &a; 38 PCUT_ASSERT_INT_EQUALS(5, *p); 39 p = NULL; 40 PCUT_ASSERT_INT_EQUALS(5, *p); 36 abort(); 41 37 } 42 38
Note:
See TracChangeset
for help on using the changeset viewer.