Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2004-02-16 12:11:30 +0300
committerMarek Safar <marek.safar@gmail.com>2004-02-16 12:11:30 +0300
commit130f5dd764ddecbf7215ddbeb636677157526fe9 (patch)
treebf47b2b3e03c838299beb5cd9698117432e94f8d /mcs/errors/cs3001-8.cs
parent685d1d51c5c6033398fcae71ef1d7d394caae559 (diff)
2004-02-16 Marek Safar <marek.safar@seznam.cz>
* cs3001-{7,8}.cs, cs3005-(1-22}.cs, cs3006-{1-6}.cs, cs3012.cs, cs3013.cs New error tests for CLS-compliance. * cs186-2.cs, cs0579-2.cs New error tests. * makefile: Added CS3005-16-lib.cs and CS3013-module.cs as helpers for errors cs3005-16.cs and cs3013.cs. svn path=/trunk/mcs/; revision=23119
Diffstat (limited to 'mcs/errors/cs3001-8.cs')
-rw-r--r--mcs/errors/cs3001-8.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs3001-8.cs b/mcs/errors/cs3001-8.cs
new file mode 100644
index 00000000000..51df1f8cd27
--- /dev/null
+++ b/mcs/errors/cs3001-8.cs
@@ -0,0 +1,10 @@
+// cs3001.cs: Argument type 'int*' is not CLS-compliant
+// Line: 9
+// Compiler options: --unsafe
+
+using System;
+[assembly:CLSCompliant(true)]
+
+unsafe public abstract class CLSClass {
+ public void Method (int* param) {}
+}