diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-01-11 16:11:53 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-01-11 16:11:53 +0300 |
commit | 1dbb4dfb6a6d1661dda7a75cb3016074d8440dda (patch) | |
tree | 7b973e1076c39d02eefb9124b7b405a1a1b55c76 /mcs/errors/cs0118-2.cs | |
parent | ae3d99bce30108c202c144a4523ae5c4951cf563 (diff) | |
parent | f30c880b86ce6abd9022f93d33cd4b9e552a2965 (diff) |
* Makefile (all-local): Add CS0118-2-lib.dll.
(run-mcs-tests, runt-generics-tests): Don't pipe through tee. It
loses exit code of do-tests.pl.
* do-tests.pl (PROFILELOG): New. Copy all output to this file too.
* cs0234-2.cs: Bug #52697.
* cs0234-3.cs: Bug #57200.
* cs0118-2.cs, CS0118-2-lib.cs: Bug #67520.
* cs0538-2.cs: Remove bogus test.
svn path=/trunk/mcs/; revision=38687
Diffstat (limited to 'mcs/errors/cs0118-2.cs')
-rw-r--r-- | mcs/errors/cs0118-2.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0118-2.cs b/mcs/errors/cs0118-2.cs new file mode 100644 index 00000000000..13582a7c855 --- /dev/null +++ b/mcs/errors/cs0118-2.cs @@ -0,0 +1,14 @@ +// error CS0118: 'A.B' denotes a 'namespace', where a type was expected +// Line: 9 +// Compiler options: -r:CS0118-2-lib.dll + +using A.B.C; + +namespace A.D { + class Test { + static public void Main () + { + B c = new B (); + } + } +} |