mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-27 20:00:10 +01:00
I've been thinking about how to restructure block recursion in order to handle params better, but this PR doesn't encounter that issue, and I may be able to adjust SemanticsIR to avoid the issue (but I'm still not sure how to form complex types in LLVM IR). Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
15 lines
567 B
Plaintext
15 lines
567 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
|
|
//
|
|
// AUTOUPDATE
|
|
// RUN: %{carbon-run-lowering}
|
|
// CHECK:STDOUT: ; ModuleID = '{{.*}}/toolchain/lowering/testdata/function/definition/params_zero.carbon'
|
|
// CHECK:STDOUT: source_filename = "{{.*}}/toolchain/lowering/testdata/function/definition/params_zero.carbon"
|
|
// CHECK-EMPTY:
|
|
// CHECK:STDOUT: define void @Foo() {
|
|
// CHECK:STDOUT: entry:
|
|
// CHECK:STDOUT: }
|
|
|
|
fn Foo() {}
|