aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/tests/warnings/011-sub-assign.vert
blob: 9839decbe343b187410f968f35dcbf6f7e53d6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 130

void main()
{
  int defined = 2;
  int undefined;
  int fooInt;

  fooInt -= undefined;
  fooInt -= defined;
}