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

struct rgba {
   color rgb;
   float a;
};


shader test ()
{
    // wrong entire type
    rgba A = 1;

    // not enough args
    rgba B = rgba(1);

    // too many args
    rgba C = rgba (color(1,1,1), 0, 1);

    // wrong type of args
    rgba D = rgba ("foo", "bar");
}
