summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/ambig6.C
blob: 8f37feaea685942554392dfd100d3ffb3dca44de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/48046

namespace N1 { typedef int   T; } // { dg-error "" }
namespace N2 { typedef float T; } // { dg-error "" }

int main()
{
  using namespace N1;
  using namespace N2;

  static T t;			// { dg-error "" }
}