Changeset 85acec94 for tests/shortCircuit.cfa
- Timestamp:
- Dec 12, 2018, 3:48:10 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 515a037
- Parents:
- 90cfc16 (diff), 5ebb1368 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/shortCircuit.cfa
r90cfc16 r85acec94 1 // 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 // 4 // The contents of this file are covered under the licence agreement in the 5 // file "LICENCE" distributed with Cforall. 6 // 7 // shortCircuit.cfa -- 8 // 9 // Author : Peter A. Buhr 10 // Created On : Thu Jan 28 18:26:16 2016 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Dec 4 18:26:05 2018 13 // Update Count : 4 14 // 15 1 16 void g( float f ) {} 2 17 void g( int i ) {} … … 33 48 } 34 49 35 36 int main(int argc, char const *argv[]) 37 { 50 int main( int argc, char const *argv[] ) { 51 sout | nlOff; 38 52 test_t true_val, false_val; 39 53 true_val.x = 1; … … 41 55 42 56 true_val && false_val; 43 sout | endl;57 sout | nl; 44 58 45 59 true_val || false_val; 46 sout | endl;60 sout | nl; 47 61 48 62 false_val && true_val; 49 sout | endl;63 sout | nl; 50 64 51 65 false_val || true_val; 52 sout | endl;66 sout | nl; 53 67 54 68 return 0; 55 69 } 70 71 // Local Variables: // 72 // tab-width: 4 // 73 // compile-command: "cfa abs.cfa" // 74 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.