aboutsummaryrefslogtreecommitdiff
path: root/Test/struct.error.frag
blob: 29aba00b647e26928358ac18200f801ad1622260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 460

struct A {
	float x;
};

A test() {
	return A(1.0);
}

void main() {
	test().z; // A.z does not exist, causes a crash
}