mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
9b67d41b85
Fixes #3105
15 lines
135 B
GLSL
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
|
|
}
|
|
|