aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.brendan/temporary1.C
blob: f4c2ab380d641237937f944a55b756e6f821811e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// GROUPS passed temporaries
#include <stdio.h>

int main ()
{
        int a = 2;

        if (----a == 0)
                printf ("a = 0\n");

        printf ("a = %d\n", a);
}