summaryrefslogtreecommitdiffstats
path: root/tests/bugs/gh-3824.slang
blob: 1d2d3685f3872a53249a8d4af473ad6e8e91514b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//TEST:SIMPLE(filecheck=CHECK):-target spirv -emit-spirv-directly

// CHECK: OpEntryPoint

namespace example {
  struct Example {}
}

struct Struct {
  example::Example example;
}

void func(Struct Struct)
{
    // Test parameter name to be the same as type name.
}

[numthreads(1,1,1)]
void main()
{}