blob: f209504c45152f4d14900003d9f649b5ac7a1945 [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.
*/
/**
* Everything between // and the end of line must be ignored by the Dart compiler,
* unless the comment is a documentation comment.
* SINGLE LINE COMMENT:
* '//' ~(NEWLINE)* (NEWLINE)?
* ;
* @description Checks that two leading slash characters separated by whitespace
* do not make a single-line comment.
* @compile-error
* @author vasya
* @reviewer rodionov
*/
/ / Invalid code
main() {
}