New test cases.

From-SVN: r25422
This commit is contained in:
Martin v. Löwis 1999-02-25 00:33:51 +00:00
parent b262d64c12
commit 5e8ad514bc
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,11 @@
//Build don't link:
namespace A{
namespace B{int i;}
using namespace B;
}
namespace C=A;
void f(){
C::i = 1;
}

View File

@ -0,0 +1,13 @@
//Build don't link:
namespace foo
{
class c
{
};
};
int
foo::c:fn () // ERROR - syntax error
{
}