parent
06a7078ce7
commit
9b67d41b85
4 changed files with 66 additions and 6 deletions
14
Test/struct.error.frag
Normal file
14
Test/struct.error.frag
Normal file
|
|
@ -0,0 +1,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
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue