// [config]
// expect_result: fail
// glsl_version: 1.40
// check_link: true
// require_extensions: GL_ARB_enhanced_layouts
// [end config]
//
// From the GL_ARB_enhanced_layouts spec:
//
//    "While *xfb_stride* can be declared multiple times for the same buffer,
//     it is a compile-time or link-time error to have different values
//     specified for the stride for the same buffer."

#version 140
#extension GL_ARB_enhanced_layouts: require

layout(xfb_stride = 20) out;
layout(xfb_buffer = 0, xfb_stride = 32) out;

void main()
{
}
