summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pch/static-2.hs
blob: 08cc4395d0e0145b2bd54ecc2b216053d80e3be8 (plain)
1
2
3
4
5
static int foo(void)
{
  static int counter;
  return counter++;
}