-// cs0657.cs : Attribute 'Obsolete' is not valid on this declaration type. It is valid on 'class, struct, enum, constructor, method, property, field, event, interface, delegate' declarations only.
+// CS0592: The attribute `System.ObsoleteAttribute' is not valid on this declaration type. It is valid on `class, struct, enum, constructor, method, property, indexer, field, event, interface, delegate' declarations only
// Line : 8
using System;
public void Test (int a)
{
}
+ static public void Main () {}
}