HLSL: Fix #747: accept 'struct' in front of previously user-defined type name.
This commit is contained in:
7
Test/hlsl.structStructName.frag
Executable file
7
Test/hlsl.structStructName.frag
Executable file
@@ -0,0 +1,7 @@
|
||||
struct S { int s; };
|
||||
|
||||
int main()
|
||||
{
|
||||
struct S t;
|
||||
return t.s;
|
||||
}
|
||||
Reference in New Issue
Block a user