empty_struct.carbon 447 B

123456789101112131415
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // AUTOUPDATE
  6. fn Echo(a: {}) {
  7. }
  8. // CHECK:STDOUT: ; ModuleID = 'empty_struct.carbon'
  9. // CHECK:STDOUT: source_filename = "empty_struct.carbon"
  10. // CHECK:STDOUT:
  11. // CHECK:STDOUT: define void @Echo({} %a) {
  12. // CHECK:STDOUT: ret void
  13. // CHECK:STDOUT: }