merge r67228-r67235, r67237, r67251 and r67256-67259 to trunk (they are
[mono.git] / mcs / errors / cs0601.cs
1 // cs0601.cs: The DllImport attribute must be specified on a method marked `static' and `extern'
2 // Line : 9
3
4 using System;
5 using System.Runtime.InteropServices;
6       
7 class Test {
8         [DllImport("cygwin1.dll", EntryPoint="puts", CharSet=CharSet.Ansi)]
9         public extern int puts (string name);
10         
11 }