summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fold-addr-1.c
blob: a0597813ad5a3ba5acd390ad0f9d04b09935cc4c (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-fdump-tree-original" } */

int bar(char p1, char p2)
{
  return &p1 == &p2;
}

/* { dg-final { scan-tree-dump "return 0;" "original" } } */