mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 20:21:21 +01:00
21 lines
701 B
Plaintext
21 lines
701 B
Plaintext
// 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
|
|
|
|
// CHECK:STDERR: fail_todo_private.carbon:[[@LINE+3]]:1: ERROR: Semantics TODO: `access modifier`.
|
|
// CHECK:STDERR: private alias A = i32;
|
|
// CHECK:STDERR: ^~~~~~~
|
|
private alias A = i32;
|
|
|
|
// CHECK:STDOUT: --- fail_todo_private.carbon
|
|
// CHECK:STDOUT:
|
|
// CHECK:STDOUT: file {
|
|
// CHECK:STDOUT: package: <namespace> = namespace [template] {
|
|
// CHECK:STDOUT: .A = %A
|
|
// CHECK:STDOUT: }
|
|
// CHECK:STDOUT: %A: type = bind_alias A, i32 [template = i32]
|
|
// CHECK:STDOUT: }
|
|
// CHECK:STDOUT:
|