c.s.tools.ide.analysis.modernize/test/unit/data/ide/analysis/modernize/YamlTest/hello-world/welcome.cc
branchrelease82
changeset 18423 b9d9af239a0c
parent 18403 67d78b11d2e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/c.s.tools.ide.analysis.modernize/test/unit/data/ide/analysis/modernize/YamlTest/hello-world/welcome.cc	Wed Jun 07 20:23:29 2017 +0300
     1.3 @@ -0,0 +1,38 @@
     1.4 +/*
     1.5 + * Copyright (c) 2009-2014, Oracle and/or its affiliates. All rights reserved.
     1.6 + *
     1.7 + * Redistribution and use in source and binary forms, with or without
     1.8 + * modification, are permitted provided that the following conditions are met:
     1.9 + *
    1.10 + * * Redistributions of source code must retain the above copyright notice,
    1.11 + *   this list of conditions and the following disclaimer.
    1.12 + *
    1.13 + * * Redistributions in binary form must reproduce the above copyright notice,
    1.14 + *   this list of conditions and the following disclaimer in the documentation
    1.15 + *   and/or other materials provided with the distribution.
    1.16 + *
    1.17 + * * Neither the name of Oracle nor the names of its contributors
    1.18 + *   may be used to endorse or promote products derived from this software without
    1.19 + *   specific prior written permission.
    1.20 + *
    1.21 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    1.22 + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    1.23 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    1.24 + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    1.25 + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    1.26 + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    1.27 + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    1.28 + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    1.29 + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    1.30 + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
    1.31 + * THE POSSIBILITY OF SUCH DAMAGE.
    1.32 + */
    1.33 +
    1.34 +#include <iostream>
    1.35 +
    1.36 +int main(int argc, char**argv) {
    1.37 +    // Prints hello message...
    1.38 +    std::cout << "Hello World!" << std::endl;
    1.39 +    
    1.40 +    return 0;
    1.41 +}