fail_intrinsic_int_format.carbon 467 B

1234567891011121314
  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. // NOAUTOUPDATE
  6. package ExplorerTest impl;
  7. fn Main() -> i32 {
  8. // CHECK:STDERR: COMPILATION ERROR: fail_intrinsic_int_format.carbon:[[@LINE+3]]: type error in Print argument 0
  9. // CHECK:STDERR: expected: String
  10. // CHECK:STDERR: actual: i32
  11. __intrinsic_print(0);
  12. }