source:
examples/s.c@
41efd33
| Last change on this file since 41efd33 was bf71cfd, checked in by , 7 years ago | |
|---|---|
|
|
| File size: 577 bytes | |
| Rev | Line | |
|---|---|---|
| [86bd7c1f] | 1 | // |
| 2 | // Cforall Version 1.0.0 Copyright (C) 2015 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 | // s.c -- | |
| 8 | // | |
| 9 | // Author : Richard C. Bilson | |
| 10 | // Created On : Wed May 27 17:56:53 2015 | |
| 11 | // Last Modified By : Peter A. Buhr | |
| [784deab] | 12 | // Last Modified On : Sun Jan 3 22:38:45 2016 |
| 13 | // Update Count : 3 | |
| [86bd7c1f] | 14 | // |
| 15 | ||
| [c11e31c] | 16 | //int ?!=?( int, int ); |
| [a0d9f94] | 17 | |
| [c11e31c] | 18 | void f() { |
| [784deab] | 19 | int a; |
| 20 | a ? 4 : 5; | |
| [86bd7c1f] | 21 | 1 ? 4 : 5; |
| 22 | 0 ? 4 : 5; | |
| [a0d9f94] | 23 | } |
| [86bd7c1f] | 24 | |
| 25 | // Local Variables: // | |
| 26 | // tab-width: 4 // | |
| 27 | // compile-command: "cfa s.c" // | |
| 28 | // End: // |
Note:
See TracBrowser
for help on using the repository browser.