Files
Lucina3DS/externals/glslang/Test/struct.error.frag
2025-02-06 22:24:29 +08:00

15 lines
135 B
GLSL

#version 460
struct A {
float x;
};
A test() {
return A(1.0);
}
void main() {
test().z; // A.z does not exist, causes a crash
}