| 123456789101112131415161718192021 |
- // 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: }
|