blob: 0f62a9df1fb158a01a825237de3023f1129871ed [file] [log] [blame]
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// @assertion Documentation comments are comments that begin with the tokens ///
/// or '/''*''*'.
/// @description Checks that contents of a documentation comment have no effect
/// on the actual code's execution.
/// @author hlodvig
import "../../../../Utils/expect.dart";
main() {
var x = 1;
/// Documentation comments [:throw 1; :]
Expect.equals(1, x);
}