-// cs0501.cs: `Class.X' must declare a body because it is not marked abstract or extern
-// Line: 4
+// CS0501: `Class.X()' must have a body because it is not marked abstract, extern, or partial
+// Line: 5
+
class Class {
virtual public void X ();
}