mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 12:51:04 +01:00
Part of switching to the [abbreviations we've decided to use](https://docs.google.com/document/d/1RRYMm42osyqhI2LyjrjockYCutQ5dOf8Abu50kTrkX0/edit?resourcekey=0-kHyqOESbOHmzZphUbtLrTw#heading=h.pph7i5m5un7q). I will rename files in a follow-up PR.
19 lines
655 B
Plaintext
19 lines
655 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
|
|
//
|
|
// ARGS: -v compile --phase=check %s
|
|
//
|
|
// Only checks a couple statements in order to minimize manual update churn.
|
|
// NOAUTOUPDATE
|
|
// SET-CHECK-SUBSET
|
|
// CHECK:STDERR: Node Push 0: FunctionIntroducer -> <none>
|
|
// CHECK:STDERR: AddInst: {kind: FunctionDecl, arg0: {{.*}}, type: type{{[0-9]+}}}
|
|
// CHECK:STDERR: inst_block_stack_ Push 1
|
|
// CHECK:STDERR: AddInst: {kind: Return}
|
|
// CHECK:STDERR: inst_block_stack_ Pop 1: block{{[0-9]+}}
|
|
|
|
fn Foo() {
|
|
return;
|
|
}
|