summaryrefslogtreecommitdiffstats
path: root/tests/bugs/parser-infinite-loop.slang
blob: 036202c4a72dc8e7eda9df4a5feab13e2d944b4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):

// CHECK: error 20001:
struct test
{
    float3 field;
}
void f()
{
    test x; x
    vector<int,2> v;
}