assoc.carbon 457 B

123456789101112131415161718
  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. interface I {
  7. fn Assoc();
  8. }
  9. fn F() { I.Assoc; }
  10. // CHECK:STDOUT: ; ModuleID = 'assoc.carbon'
  11. // CHECK:STDOUT: source_filename = "assoc.carbon"
  12. // CHECK:STDOUT:
  13. // CHECK:STDOUT: define void @F() {
  14. // CHECK:STDOUT: ret void
  15. // CHECK:STDOUT: }