summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/missing-semicolon-after-semantic.slang
blob: d2eb128255d62d3d8b5ad2b1dbd1d26733dde6c7 (plain)
1
2
3
4
5
6
7
8
9
//DIAGNOSTIC_TEST:SIMPLE:

// Forgetting to put in the `;` after declaraing a variable/field
// with a semantic used to put the compiler into an infinite loop.

struct Test
{
	float4 pos : SV_POSITION
};