fail_undefined_bound.carbon 835 B

1234567891011121314151617181920212223
  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. // AUTOUPDATE
  6. // CHECK:STDERR: fail_undefined_bound.carbon:[[@LINE+3]]:8: ERROR: Semantics TODO: `HandleArrayExprWithoutBounds`.
  7. // CHECK:STDERR: var a: [i32; ];
  8. // CHECK:STDERR: ^~~~~~~
  9. var a: [i32; ];
  10. // CHECK:STDOUT: --- fail_undefined_bound.carbon
  11. // CHECK:STDOUT:
  12. // CHECK:STDOUT: constants {
  13. // CHECK:STDOUT: %Int32: type = fn_type @Int32 [template]
  14. // CHECK:STDOUT: %.1: type = tuple_type () [template]
  15. // CHECK:STDOUT: %struct: Int32 = struct_value () [template]
  16. // CHECK:STDOUT: }
  17. // CHECK:STDOUT:
  18. // CHECK:STDOUT: file {}
  19. // CHECK:STDOUT:
  20. // CHECK:STDOUT: fn @Int32() -> type = "int.make_type_32";
  21. // CHECK:STDOUT: