Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyclic type causes compiler crash. #3789

Closed
csyonghe opened this issue Mar 19, 2024 · 0 comments · Fixed by #3790
Closed

Cyclic type causes compiler crash. #3789

csyonghe opened this issue Mar 19, 2024 · 0 comments · Fixed by #3790
Assignees
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang

Comments

@csyonghe
Copy link
Collaborator


//TEST:SIMPLE(filecheck=CHECK):-target spirv -emit-spirv-directly

// CHECK: error 41001:

struct TA
{
    TB tb;
}

struct TB
{
    TA ta[2];
}

[numthreads(1,1,1)]
void main()
{
    TA ta;
    ta.tb.ta[0] = ta;
}
@csyonghe csyonghe self-assigned this Mar 19, 2024
@csyonghe csyonghe added the goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang label Mar 19, 2024
@csyonghe csyonghe added this to the Q1 2024 (Winter) milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:quality & productivity Quality issues and issues that impact our productivity coding day to day inside slang
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant