generic.carbon 798 B

12345678910111213141516171819202122232425
  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. class C[]();
  7. // CHECK:STDOUT: --- generic.carbon
  8. // CHECK:STDOUT:
  9. // CHECK:STDOUT: constants {
  10. // CHECK:STDOUT: %C: type = class_type @C [template]
  11. // CHECK:STDOUT: }
  12. // CHECK:STDOUT:
  13. // CHECK:STDOUT: file {
  14. // CHECK:STDOUT: package: <namespace> = namespace [template] {
  15. // CHECK:STDOUT: .Core = %Core
  16. // CHECK:STDOUT: .C = %C.decl
  17. // CHECK:STDOUT: }
  18. // CHECK:STDOUT: %Core: <namespace> = namespace [template] {}
  19. // CHECK:STDOUT: %C.decl: type = class_decl @C [template = constants.%C] {}
  20. // CHECK:STDOUT: }
  21. // CHECK:STDOUT:
  22. // CHECK:STDOUT: class @C;
  23. // CHECK:STDOUT: