source: translator/examples/fwrite.c @ 134b86a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 134b86a was 134b86a, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

add compiler flag to driver, update examples, fix unnamed bit fields

  • Property mode set to 100644
File size: 141 bytes
RevLine 
[51b7345]1// "cfa -CFA fwrite.c > fwrite.i"
2// "cfa fwrite.i"
3
[134b86a]4extern "C" {
[51b7345]5#include <stdio.h>
[134b86a]6}
[51b7345]7
[134b86a]8int main() {
9    fwrite( "test\n", 5, 1, stdout );
[51b7345]10}
Note: See TracBrowser for help on using the repository browser.