Changes in src/examples/quoted_keyword.c [86bd7c1f:843054c2]
- File:
-
- 1 edited
-
src/examples/quoted_keyword.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/examples/quoted_keyword.c
r86bd7c1f r843054c2 1 //2 // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo3 //4 // The contents of this file are covered under the licence agreement in the5 // file "LICENCE" distributed with Cforall.6 //7 // quoted_keyword.c --8 //9 // Author : Richard C. Bilson10 // Created On : Wed May 27 17:56:53 201511 // Last Modified By : Peter A. Buhr12 // Last Modified On : Wed May 27 18:27:26 201513 // Update Count : 214 //15 16 1 // test quoted keyword usage 17 2 int `catch`; 18 3 19 4 struct { 20 int `type`;21 int `struct`;5 int `type`; 6 int `struct`; 22 7 } st; 23 8 … … 26 11 27 12 int foo() { 28 int w = `catch` + st.`type` + st.`struct` + `throw`;13 int w = `catch` + st.`type` + st.`struct` + `throw`; 29 14 } 30 15 … … 32 17 33 18 // Local Variables: // 34 // tab-width: 4 // 35 // compile-command: "cfa quoted_keyword.c" // 19 // compile-command: "../../bin/cfa quoted_keyword.c" // 36 20 // End: //
Note:
See TracChangeset
for help on using the changeset viewer.