1 /* Here we test that linking is successful when we have an unnecessary but
2 * valid forward declaration of get_my_position(). This test for the mesa bug
3 * from https://gitlab.freedesktop.org/mesa/mesa/-/issues/12115
12 vec4 get_my_position(vec4 a);
14 vec4 my_position(vec4 a)
19 vec4 get_my_position(vec4 a) {
20 return my_position(a);
26 vec4 get_my_position(vec4 a);
30 gl_Position = get_my_position(vec4(1.0));
37 gl_FragColor = vec4(1.0);