unary_stmt.carbon.tmpl 342 B

1234567891011121314151617181920
  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. HEADER
  7. package User;
  8. class C {};
  9. impl C as Core.INTERFACE {
  10. fn Op[addr self: C*]();
  11. }
  12. fn TestOp() {
  13. var c: C = {};
  14. OPc;
  15. }