// // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // quoted_keyword.c -- // // Author : Richard C. Bilson // Created On : Wed May 27 17:56:53 2015 // Last Modified By : Peter A. Buhr // Last Modified On : Sun Jan 3 22:46:28 2016 // Update Count : 7 // #include "fstream.h" // test quoted keyword usage int `catch` = 10; struct { int `type`; int `struct`; } st = { 10, 10 }; typedef int `forall`; `forall` `throw` = 10; int main() { ofstream *sout = ofstream_stdout(); sout | `catch` + st.`type` + st.`struct` + `throw` | endl; } #include // has field name "type" // Local Variables: // // tab-width: 4 // // compile-command: "cfa quoted_keyword.c" // // End: //