summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fold-addr-1.c
blob: 7323ffdabf735d54ddf4ac4949539812edfbd05c (plain)
1
2
3
4
5
6
7
8
9
10
/* { 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" } } */
/* { dg-final { cleanup-tree-dump "original" } } */