summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/mangle3.C
blob: 408a23753be2ad102ebba18e85ae1368ba891a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// { dg-do run  }
// PRMS Id: 7563
// Bug: declaration at function scope causes mismangling.

int main()
{
  char ArrA[1][1][2][3],
       ArrB[1][1][2][3];

  void HitMe(char [1][1][2][3], char [1][1][2][3]);

  HitMe(ArrA, ArrB);

  return 0;
}

void HitMe(char A[1][1][2][3], char B[1][1][2][3])
{
  return;
}