mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 22:02:45 +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).
22 lines
576 B
Plaintext
22 lines
576 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: compile --phase=check --dump-semantics-ir %s
|
|
//
|
|
// Just check that the raw IR format isn't included in `dump semantics-ir` mode.
|
|
// AUTOUPDATE
|
|
|
|
fn Foo() {
|
|
return;
|
|
}
|
|
|
|
// CHECK:STDOUT: package {
|
|
// CHECK:STDOUT: %.loc10 = fn_decl @Foo
|
|
// CHECK:STDOUT: }
|
|
// CHECK:STDOUT:
|
|
// CHECK:STDOUT: fn @Foo() {
|
|
// CHECK:STDOUT: !entry:
|
|
// CHECK:STDOUT: return
|
|
// CHECK:STDOUT: }
|