verbose.carbon 527 B

123456789101112131415
  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: AddNode block{{[0-9]+}}: {kind: FunctionDeclaration, arg0: function{{[0-9]+}}}
  12. fn Foo() {
  13. return;
  14. }