Skip to content

Commit b832338

Browse files
authored
Fix parsing of nested generic app. (shader-slang#6259)
1 parent bcf5302 commit b832338

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
//TEST_IGNORE_FILE:
2+
struct Foo<T> {}
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//TEST:SIMPLE(filecheck=CHECK): -target spirv
2+
import "generic-disambiguate-module";
3+
4+
// CHECK: OpEntryPoint
5+
6+
[numthreads(1,1,1)]
7+
void main()
8+
{
9+
var x : Foo<Foo<Foo<Foo<float>>>>; // error 20002: syntax error.
10+
}

0 commit comments

Comments
 (0)