// generic-uint-value-param.slang //DIAGNOSTIC_TEST:SIMPLE: // Regression test to confirm that type checker // doesn't report warnings for these constant coercions. struct BoolG { } struct Test { int arr[v]; } static const uint uv = 5; void t() { BoolG gt; BoolG gt2; BoolG<1 != 2> gt3; Test v; }