Add -mcpu=power11 support.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / alias4.C
blob2d9dd4a4c5731266c2aea084cbb8467bd2843bd4
1 // { dg-do assemble  }
2 namespace A = B;  // { dg-error "" } unknown namespace
4 namespace C{}
5 namespace D = C;  
6 namespace D {     // { dg-error "" } reopening namespace with alias
7   void f();
10 void C::f(){}     // { dg-message "" } previous definition
12 void D::f(){}     // { dg-error "" } redefinition
14 namespace E = C::F; // { dg-error "" } unknown namespace