errors_sorted_test.carbon 561 B

12345678910111213
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // RUN: %{not} %{carbon-run-tokens}
  6. // CHECK-COUNT-17:STDOUT: token: {{.*}}
  7. // CHECK:STDERR: {{.*}}/errors_sorted_test.carbon:[[@LINE+1]]:24: Closing symbol does not match most recent opening symbol.
  8. fn run(String program) {
  9. return True;
  10. // CHECK:STDERR: {{.*}}/errors_sorted_test.carbon:[[@LINE+1]]:10: Invalid digit 'a' in decimal numeric literal.
  11. var x = 3a;