Skip to content

Commit db47bfd

Browse files
authored
Merge pull request #81898 from swiftlang/gaborh/rebranch-test-fix
[cxx-interop] Fix compilation failure in rebranch
2 parents 209a7a2 + 64babf5 commit db47bfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/class/nonescapable-lifetimebound.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ View getViewFromEither(View view1 [[clang::lifetimebound]], View view2 [[clang::
7373
struct SWIFT_NONESCAPABLE TestAnnotationTranslation {
7474
TestAnnotationTranslation() : member(nullptr) {}
7575
TestAnnotationTranslation(const int *p [[clang::lifetimebound]]) : member(p) {}
76-
TestAnnotationTranslation(const TestAnnotationTranslation& [[clang::lifetimebound]]) = default;
76+
TestAnnotationTranslation(const TestAnnotationTranslation& other [[clang::lifetimebound]]) = default;
7777
private:
7878
const int *member;
7979
};

0 commit comments

Comments
 (0)