Changeset e765794
- Timestamp:
- Aug 11, 2018, 5:07:27 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 26f4dbe
- Parents:
- 93c2e0a
- Location:
- src/tests/raii
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/raii/.expect/dtor-early-exit-ERR1.txt
r93c2e0a re765794 1 raii/dtor-early-exit.c:15 3:1 error: jump to label 'L1' crosses initialization of y Branch (Goto)1 raii/dtor-early-exit.c:150:1 error: jump to label 'L1' crosses initialization of y Branch (Goto) 2 2 with target: L1 3 3 with original target: L1 -
src/tests/raii/.expect/dtor-early-exit-ERR2.txt
r93c2e0a re765794 1 raii/dtor-early-exit.c:21 7:1 error: jump to label 'L2' crosses initialization of y Branch (Goto)1 raii/dtor-early-exit.c:214:1 error: jump to label 'L2' crosses initialization of y Branch (Goto) 2 2 with target: L2 3 3 with original target: L2 -
src/tests/raii/dtor-early-exit.c
r93c2e0a re765794 10 10 // Created On : Wed Aug 17 08:26:25 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 17 08:29:37 201613 // Update Count : 212 // Last Modified On : Sat Aug 11 07:58:39 2018 13 // Update Count : 8 14 14 // 15 15 16 16 #include <fstream> 17 17 #include <stdlib> 18 extern "C" { 19 #define false ((int)0) // until stdbool.h works 20 #define assert(cond) if (! (cond)) { sout | "Assertion failed: (" | #cond | ") at " __FILE__ | ":" | __LINE__ | endl; abort(); } 21 } 18 #include <assert.h> 22 19 23 20 struct A {
Note: See TracChangeset
for help on using the changeset viewer.