test/lp_test.cc
changeset 1253 5958cc5c0a98
parent 1232 fc3854d936f7
child 1248 14394c9603c2
child 1270 dceba191c00d
     1.1 --- a/test/lp_test.cc	Tue Aug 06 06:52:36 2013 +0200
     1.2 +++ b/test/lp_test.cc	Tue Aug 06 12:28:37 2013 +0200
     1.3 @@ -198,7 +198,12 @@
     1.4        LP::Constr c = v >= -3;
     1.5        c = c <= 4;
     1.6        LP::Constr c2;
     1.7 +#if ( __GNUC__ == 4 ) && ( __GNUC_MINOR__ == 3 )
     1.8 +      c2 = ( -3 <= v ) <= 4;
     1.9 +#else
    1.10        c2 = -3 <= v <= 4;
    1.11 +#endif
    1.12 +
    1.13      }
    1.14  
    1.15      e[x[3]]=2;