- Timestamp:
- Oct 9, 2020, 6:12:50 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 04423b53
- Parents:
- 3ca7ef3 (diff), 8fc9a5f (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
- Files:
-
- 2 added
- 7 edited
-
.expect/array.txt (modified) (1 diff)
-
.expect/const-init.txt (added)
-
.expect/expression.txt (modified) (1 diff)
-
.expect/limits.txt (modified) (1 diff)
-
array.cfa (modified) (3 diffs)
-
const-init.cfa (added)
-
exceptions/defaults.cfa (modified) (1 diff)
-
expression.cfa (modified) (1 diff)
-
limits.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/array.txt
r3ca7ef3 r40a1392 1 1 array.cfa: In function '_X4mainFi___1': 2 array.cfa:5 4:9: note: #pragma message: Compiled2 array.cfa:55:9: note: #pragma message: Compiled -
tests/.expect/expression.txt
r3ca7ef3 r40a1392 1 1 expression.cfa: In function '_X4mainFi___1': 2 expression.cfa:8 8:9: note: #pragma message: Compiled2 expression.cfa:89:9: note: #pragma message: Compiled -
tests/.expect/limits.txt
r3ca7ef3 r40a1392 1 1 limits.cfa: In function '_X4mainFi_iPPKc__1': 2 limits.cfa:15 1:9: note: #pragma message: Compiled2 limits.cfa:154:9: note: #pragma message: Compiled -
tests/array.cfa
r3ca7ef3 r40a1392 1 // -*- Mode: C -*- 2 // 1 // -*- Mode: C -*- 2 // 3 3 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 4 4 // 5 5 // The contents of this file are covered under the licence agreement in the 6 6 // file "LICENCE" distributed with Cforall. 7 // 7 // 8 8 // array.cfa -- test array declarations 9 // 9 // 10 10 // Author : Peter A. Buhr 11 11 // Created On : Tue Feb 19 21:18:06 2019 … … 13 13 // Last Modified On : Sun Sep 27 09:05:40 2020 14 14 // Update Count : 4 15 // 15 // 16 16 17 17 int a1[0]; … … 50 50 51 51 int main() { 52 #pragma message( "Compiled" ) // force non-empty .expect file 52 #if !defined(NO_COMPILED_PRAGMA) 53 #pragma message( "Compiled" ) // force non-empty .expect file 54 #endif 53 55 } 54 56 -
tests/exceptions/defaults.cfa
r3ca7ef3 r40a1392 55 55 56 56 void unhandled_test(void) { 57 forall(dtype T | is_exception(T))57 forall(dtype T, dtype V | is_exception(T, V)) 58 58 void defaultTerminationHandler(T &) { 59 59 throw (unhandled_exception){}; -
tests/expression.cfa
r3ca7ef3 r40a1392 84 84 (S)@{2}`mary; 85 85 86 #pragma message( "Compiled" ) // force non-empty .expect file 86 #if !defined(NO_COMPILED_PRAGMA) 87 #pragma message( "Compiled" ) // force non-empty .expect file 88 #endif 87 89 } // main -
tests/limits.cfa
r3ca7ef3 r40a1392 13 13 // Update Count : 10 14 14 // 15 16 // Note: For testing the ability to load the constants defined in libcfa/src/limits.cfa, 17 // see discussion in test const-init. 15 18 16 19 #include <limits.hfa>
Note:
See TracChangeset
for help on using the changeset viewer.