summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/warnings4.C
blob: 410ca800ce84c0828680428abba34af5a39b4c17 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// GROUPS passed warnings
int
main ()
{
  register int x;
  int * foo = &x; // in C++ it's perfectly legal to do this

  return 0;
}