| 123456789101112131415161718192021 |
- // 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
- //
- // NOAUTOUPDATE
- package ExplorerTest api;
- namespace A;
- namespace A.B;
- namespace A.B.C;
- fn A.B.C.
- // CHECK:STDERR: COMPILATION ERROR: fail_missing_nested.carbon:[[@LINE+1]]: name 'D' has not been declared in namespace A.B.C
- D
- // Don't combine with the previous line. This test is verifying that the
- // diagnostic points at the right token.
- .E.F() {}
- fn Main() -> i32 {
- return 0;
- }
|