Files
c3c/test/test_suite/dynamic/same_method_twice.c3
Christoffer Lerno 3f77e868b1 Fixes #1040.
2023-10-09 00:55:54 +02:00

12 lines
181 B
C

module test;
import std::io;
protocol Abc
{
fn void test();
}
fn void Abc.hello(&self) {}
fn void Abc.hello(&self) {} // #error: This method is already defined
fn void main() {}