| 12345678910111213 |
- // 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
- //
- // AUTOUPDATE
- package ExplorerTest api;
- fn Main() -> i32 {
- // CHECK:STDERR: SYNTAX ERROR: fail_tuple_pattern_let_in_var.carbon:[[@LINE+1]]: syntax error, unexpected LET
- var (var a: auto, b: auto, let c: auto, d: auto) = (1, 2, 3, 4);
- return 0;
- }
|