verbose.carbon 772 B

12345678910111213141516171819
  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. // ARGS: -v compile --phase=check %s
  6. //
  7. // Only checks a couple statements in order to minimize manual update churn.
  8. // NOAUTOUPDATE
  9. // SET-CHECK-SUBSET
  10. // CHECK:STDERR: Node Push 0: FunctionIntroducer -> <none>
  11. // CHECK:STDERR: AddPlaceholderInst: {kind: FunctionDecl, arg0: {{.*}}, type: type{{[0-9]+}}}
  12. // CHECK:STDERR: ReplaceInst: inst+{{[0-9]+}} -> {kind: FunctionDecl, arg0: {{.*}}, type: type{{[0-9]+}}}
  13. // CHECK:STDERR: inst_block_stack_ Push 1
  14. // CHECK:STDERR: AddInst: {kind: Return}
  15. // CHECK:STDERR: inst_block_stack_ Pop 1: block{{[0-9]+}}
  16. fn Foo() {
  17. return;
  18. }