quakeforge/tools/qfcc/test/shadow-param.r
Bill Currie 0bc58246b1 [qfcc] Add a passing test for shadowed params
It's currently passing for Ruamoko, but glsl doesn't catch shadowed
params. There's a bit of a conflict and I want to make sure I don't lose
the checking.
2024-10-07 09:29:14 +09:00

10 lines
110 B
R

float func (int x)
{
float x = 0;
return x;
}
int main ()
{
return 1; // test fails if compile succeeds
}