1/* { dg-do run } */ 2/* { dg-options "-g" } */ 3 4#include "guality.h" 5 6int a; 7 8int 9main (int argc, char *argv[]) 10{ 11 int tmp = a; 12 int tmp2 = a; 13 int tmp3; 14 int res; 15 GUALCHKVAL (a); 16 GUALCHKVAL (tmp); 17 GUALCHKVAL (tmp2); 18 a = 0; 19 tmp3 = tmp2; 20 GUALCHKVAL (a); 21 GUALCHKVAL (tmp); 22 GUALCHKVAL (tmp2); 23 GUALCHKVAL (tmp3); 24 res = tmp - tmp2 + 1; 25 return res; 26} 27