mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
17 lines
193 B
Plaintext
17 lines
193 B
Plaintext
import std::io;
|
|
// Issue #1990
|
|
struct Foo
|
|
{
|
|
uint field;
|
|
}
|
|
|
|
macro Foo.bar() // #error: A method must start with an argument
|
|
{
|
|
io.printn("UwU");
|
|
}
|
|
|
|
fn void main()
|
|
{
|
|
Foo foo = {};
|
|
foo.bar();
|
|
} |