mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
22 lines
450 B
Plaintext
22 lines
450 B
Plaintext
module foo;
|
|
import std;
|
|
|
|
<* @param [in] ... : "ofkeofek" *> // #error: may not have any in-out modifiers
|
|
extern fn void test2(...);
|
|
|
|
<* @param ... : "ofkeofek" *>
|
|
extern fn void test(...);
|
|
|
|
<* @param ... : "ofkeofek" *> // #error: are only allowed macros and functions with
|
|
extern fn void test3();
|
|
|
|
<*
|
|
@param ... : "ofkeofek"
|
|
@param ... : "ofkeofek" *> // #error: @param may not be repeated
|
|
extern fn void test4(...);
|
|
|
|
fn int main()
|
|
{
|
|
return 0;
|
|
}
|