Extension methods aren't abstract

This commit is contained in:
Roman Shevchenko
2012-05-24 21:43:35 +04:00
parent 5a7dd97108
commit 3f4aca11bd
10 changed files with 112 additions and 112 deletions
@@ -13,9 +13,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
class C {
interface I {
<error descr="Interface methods cannot have body">void m1()</error> { }
void m2() default { }
void m() default { }
}
void test() {
new I(){}.m();
}
}