mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
182 B
Plaintext
12 lines
182 B
Plaintext
module test;
|
|
import std::io;
|
|
|
|
interface Abc
|
|
{
|
|
fn void test();
|
|
}
|
|
|
|
fn void Abc.hello(&self) {}
|
|
fn void Abc.hello(&self) {} // #error: This method is already defined
|
|
|
|
fn void main() {} |