mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
12 lines
134 B
Plaintext
12 lines
134 B
Plaintext
import std;
|
|
struct Foo <Type> { int a; }
|
|
|
|
fn void Foo.test(self) @if(Type.sizeof > 4)
|
|
{ }
|
|
|
|
fn int main()
|
|
{
|
|
Foo{int} x;
|
|
return 0;
|
|
}
|