mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
* added documentation for tracing output, changed the printing of scopes to be part of the stack, made other minor changes hoping to enhance readability * reformat a list in the README * minor edit * fix the lists * updates to the interpreter/README.md
17 lines
554 B
Plaintext
17 lines
554 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
|
|
//
|
|
// RUN: %{explorer} %s 2>&1 | \
|
|
// RUN: %{FileCheck} --match-full-lines --allow-unused-prefixes=false %s
|
|
// RUN: %{explorer} --parser_debug --trace_file=- %s 2>&1 | \
|
|
// RUN: %{FileCheck} --match-full-lines --allow-unused-prefixes %s
|
|
// AUTOUPDATE: %{explorer} %s
|
|
// CHECK: result: 7
|
|
|
|
package ExplorerTest api;
|
|
|
|
fn Main() -> i32 {
|
|
return (1 + 2) + 4;
|
|
}
|