Files
mono/mcs/errors/cs0626.cs
T
Marek Safar 1a3e15f309 New tests based on bug #80368
svn path=/trunk/mcs/; revision=70979
2007-01-14 14:27:33 +00:00

7 lines
299 B
C#

// CS0626: `ExternClass.ExternMethod()' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
// Line: 6
// Compiler options: -warnaserror -warn:1
class ExternClass {
public static extern void ExternMethod();
}