| 12345678910111213141516 |
- // 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
- //
- // AUTOUPDATE
- package ExplorerTest api;
- __mixin Operations {
- // CHECK:STDERR: COMPILATION ERROR: fail_qualified_method.carbon:[[@LINE+1]]: qualified declaration names are not permitted in this context
- fn Operations.Square[self: Self](x:i32) -> i32{
- return x * x;
- }
- }
- fn Main() -> i32 { return 0; }
|