mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 20:48:12 +00:00
This is addressing an issue left behind by the context switch, removing a few diagnostics that had been in the header rather than figuring out proper homes. I'm splitting one for semis a little further, sharing one, and then the other two are actually able to be moved into more specific homes as-is (one is only used in one place, clearly an oversight that it wasn't there already).
16 lines
524 B
Plaintext
16 lines
524 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
|
|
// CHECK:STDOUT: ; ModuleID = 'params_two.carbon'
|
|
// CHECK:STDOUT: source_filename = "params_two.carbon"
|
|
// CHECK:STDOUT:
|
|
// CHECK:STDOUT: %EmptyTupleType = type {}
|
|
// CHECK:STDOUT:
|
|
// CHECK:STDOUT: define %EmptyTupleType @Foo(i32 %a, i32 %b) {
|
|
// CHECK:STDOUT: entry:
|
|
// CHECK:STDOUT: }
|
|
|
|
fn Foo(a: i32, b: i32) {}
|