summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/using23.C
blob: 5dd8d8594b1161754f02c19603b9b2dd26fd5dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/50742

typedef int A;

void f(int i)
{
  switch (i)
    {
    case 0:
      using ::A;
    default:;
    }
}