xref: /third_party/glslang/Test/struct.error.frag
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/glslang/Test/
1617a3babSopenharmony_ci#version 460
2617a3babSopenharmony_ci
3617a3babSopenharmony_cistruct A {
4617a3babSopenharmony_ci	float x;
5617a3babSopenharmony_ci};
6617a3babSopenharmony_ci
7617a3babSopenharmony_ciA test() {
8617a3babSopenharmony_ci	return A(1.0);
9617a3babSopenharmony_ci}
10617a3babSopenharmony_ci
11617a3babSopenharmony_civoid main() {
12617a3babSopenharmony_ci	test().z; // A.z does not exist, causes a crash
13617a3babSopenharmony_ci}
14617a3babSopenharmony_ci
15

Indexes created Thu Nov 07 10:32:03 CST 2024