Changeset 0e0f128c for tests/raii
- Timestamp:
- Aug 14, 2018, 1:20:59 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:
- 7b3a6e6
- Parents:
- 0c827019 (diff), 26f4dbe (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- tests/raii
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/raii/.expect/dtor-early-exit-ERR1.txt
r0c827019 r0e0f128c 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 -
tests/raii/.expect/dtor-early-exit-ERR2.txt
r0c827019 r0e0f128c 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 -
tests/raii/dtor-early-exit.c
r0c827019 r0e0f128c 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 2016 13 // Update Count : 2 14 // 15 16 #include <fstream.hfa> 17 #include <stdlib.hfa> 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 } 12 // Last Modified On : Sat Aug 11 07:58:39 2018 13 // Update Count : 8 14 // 15 16 #include <fstream> 17 #include <stdlib> 18 #include <assert.h> 22 19 23 20 struct A {
Note: See TracChangeset
for help on using the changeset viewer.