mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 17:58:10 +00:00
This reverts commit 65a3c2b36a.
It was merged by accident with a dependent change. Will re-land
independently.
17 lines
599 B
Plaintext
17 lines
599 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
|
|
|
|
// This is a comment.
|
|
// Comment with whitespace.
|
|
// class C; fn F[T: A](a: T) -> i32 { return 86; }
|
|
//@dump-sem-ir-begin
|
|
//@dump-sem-ir-end
|
|
//@include-in-dumps
|
|
//@dump-sem-ir-
|
|
//no whitespace after double slash
|
|
/* invalid comment pattern. */
|
|
/// invalid comment pattern.
|
|
class C; // Comment after a statement/expression/declaration.
|
|
var x: i32 = 1;// Trailing, with no space before the introducer.
|