// Copyright Contributors to the Open Shading Language project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/AcademySoftwareFoundation/OpenShadingLanguage

surface test_assign (string str = "default", color Cs = 1)
{
    string temp  = str;
    string temp2 = "temp2 initial value";

    if (temp == "abracadabra") {
       temp2 = "open sesame";
    }

    printf("temp:  %s\n", temp);
    printf("temp2: %s\n", temp2);

    Ci = Cs * diffuse (N);
}
