mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 13:46:50 +00:00
Remove some uses of ReturnTypeInfo (#6577)
As with #6572, this is a step toward supporting function calls that have arbitrary numbers of initializing returns.
This commit is contained in:
1 parent
d66b2f899c
commit
4a47f1ebeb
10 files changed
+123
-80
No files matched your search
@@ -451,9 +451,9 @@ fn F() {
|
||||
// CHECK:STDERR: struct S;
|
||||
// CHECK:STDERR: ^
|
||||
// CHECK:STDERR: fail_import_decl_value_return_type.carbon:[[@LINE-14]]:10: in file included here [InCppInclude]
|
||||
// CHECK:STDERR: ./decl_value_return_type.h:2:8: note: return type declared here [IncompleteReturnTypeHere]
|
||||
// CHECK:STDERR: struct S;
|
||||
// CHECK:STDERR: ^
|
||||
// CHECK:STDERR: ./decl_value_return_type.h:4:1: note: return type declared here [IncompleteReturnTypeHere]
|
||||
// CHECK:STDERR: auto foo() -> S;
|
||||
// CHECK:STDERR: ^
|
||||
// CHECK:STDERR:
|
||||
Cpp.foo();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user