| 123456789101112131415161718 |
- // 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;
- interface HasThreeTypes {
- let A:! type;
- let B:! type;
- let C:! type;
- }
- // CHECK:STDERR: COMPILATION ERROR: fail_incomplete_impl_1.carbon:[[@LINE+1]]: implementation doesn't provide a concrete value for interface HasThreeTypes.B
- impl i32 as HasThreeTypes where .A = i32 and .C = i32 {}
- fn Main() -> i32 { return 0; }
|