blob: 028240b3908ff71ba14a3dea938b726cef0bf3df [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-vars" } */
int f(int *a)
{
int &b = *a;
b = 0;
return *a;
}
/* There should be only one dereferencing of a. */
/* { dg-final { scan-tree-dump-times "\\*a" 1 "vars"} } */