mirror of
https://github.com/RPCS3/glslang.git
synced 2026-01-31 01:25:22 +01:00
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
|
|
}
|
|
|