semantics_verbose.carbon 548 B

12345678910111213
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // RUN: %{carbon} -v dump semantics-ir %s | %{FileCheck-allow-unmatched}
  6. //
  7. // Only checks a couple statements in order to minimize manual update churn.
  8. // CHECK:STDERR: Node Push 0: FunctionIntroducer -> <none>
  9. // CHECK:STDERR: AddNode block{{[0-9]+}}: {kind: FunctionDeclaration, arg0: str{{[0-9]+}}, arg1: callable{{[0-9]+}}}
  10. fn Foo() {
  11. return;
  12. }