a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
291 B
C#
12 lines
291 B
C#
// CS0601: The DllImport attribute must be specified on a method marked `static' and `extern'
|
|
// Line : 9
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
class Test {
|
|
[DllImport("cygwin1.dll", EntryPoint="puts", CharSet=CharSet.Ansi)]
|
|
public extern int puts (string name);
|
|
|
|
}
|