Files
c3c/test/test_suite/any/interface_fault.c3
2025-12-30 12:38:04 +01:00

8 lines
147 B
Plaintext

interface Foo { }
fn int main()
{
Foo? v;
v.nope(); // #error: The 'Foo' interface has no method 'nope', did you spell it correctly
return 0;
}