Home | History | Annotate | Download | only in warnings
      1 #version 130
      2 
      3 void main()
      4 {
      5   int defined = 2;
      6   int undefined;
      7   float fooFloat;
      8 
      9   if (undefined >> 2 == 0) {
     10     fooFloat = 10.0;
     11   }
     12 
     13   if (defined >> 2 == 0) {
     14     fooFloat = 10.0;
     15   }
     16 
     17   if (undefined >> defined == 0) {
     18     fooFloat = 10.0;
     19   }
     20 
     21   if (defined >> undefined == 0) {
     22     fooFloat = 10.0;
     23   }
     24 }
     25 
     26