/*
 * [config]
 * expect_result: fail
 * glsl_version: 1.50
 * require_extensions: GL_ARB_shader_image_load_store
 * [end config]
 */
#version 150
#extension GL_ARB_shader_image_load_store: require

/*
 * From the ARB_shader_image_load_store spec:
 *
 * "Images cannot be treated as l-values; hence, they cannot be used
 *  as out or inout function parameters, nor can they be assigned
 *  into."
 */
void f(inout image2D y)
{
}

void main()
{
}
