mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 11:25:00 +01:00
Continuing along with #3070. Note this is just a file rename, with BUILD edits; every file previously in semantics/ should show as moved (except maybe BUILDs, which split).
16 lines
527 B
Plaintext
16 lines
527 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: AddNode block{{[0-9]+}}: {kind: FunctionDeclaration, arg0: function{{[0-9]+}}}
|
|
|
|
fn Foo() {
|
|
return;
|
|
}
|