Files
compiler-explorer/examples/carbon/default.carbon
T
Matt Godbolt 50a1eedf01 Add support for Carbon (#3885)
Add support for the Carbon language prototype.
2022-07-19 09:42:25 -05:00

10 lines
109 B
Plaintext

package sample api;
fn Square(x: i32) -> i32 {
return x * x;
}
fn Main() -> i32 {
return Square(12);
}