summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/overload/prom1.C
blob: 9eb387dc43a8c68f03e7376d8f2c67cd2f3654a4 (plain)
1
2
3
4
5
6
7
8
9
void foo(signed char) {}
typedef int bar;
void foo(bar) {}

int main (int, char **) {
  char c;
  foo(c);
  return 0;
}