mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 20:00:13 +01:00
* implement tuple restrictions: (1) named fields after positional, (2) order matters * after_named_member => seen_named_member
10 lines
296 B
Plaintext
10 lines
296 B
Plaintext
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
// Exceptions. See /LICENSE for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
fn f(Int: x, .d = Int: y, Int: z, .e = Int: a) => (x + y) - (z + a);
|
|
|
|
fn main() -> Int {
|
|
return 0;
|
|
}
|