source: src/tests/hello.c@ 62cd621

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 62cd621 was 7985fa5, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

add test program

  • Property mode set to 100644
File size: 983 bytes
Line 
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// hello.c --
8//
9// Author : Peter A. Buhr
10// Created On : Wed May 27 17:56:53 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Mon Jun 5 08:12:27 2017
13// Update Count : 15
14//
15
16#include <fstream>
17
18int main() {
19 sout | "Hello world!" | endl;
20 sout | "Bonjour le monde!" | endl;
21 sout | "Hola Mundo!" | endl;
22 sout | "Hallo Welt!" | endl;
23 sout | "Kaixo Mundua!" | endl;
24 sout | "Chào thế giới!" | endl;
25 sout | "Привет мир!" | endl;
26 sout | "שלום עולם!" | endl;
27 sout | "你好,世界!" | endl;
28 sout | "こんにちは世界!" | endl;
29 sout | "안녕하세요 세계!" | endl;
30 sout | "नमस्ते दुनिया!" | endl;
31}
32
33// Local Variables: //
34// tab-width: 4 //
35// compile-command: "cfa hello.c" //
36// End: //
Note: See TracBrowser for help on using the repository browser.