Skip to content

Commit c2f6cc6

Browse files
authored
[cxx-interop] Update an inheritance test
`__swift_interopStaticCast` is now defined in the CxxShim module. Clients do not need to redefine it manually.
1 parent b6ed127 commit c2f6cc6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/Interop/Cxx/class/inheritance/Inputs/sub-types.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
template <class From, class To>
2-
To __swift_interopStaticCast(From from) {
3-
return static_cast<To>(from);
4-
}
5-
61
struct Base {
72
enum class EnumClass : char { eca = 2, ecb = 3, ecc = 4 };
83
enum Enum { ea, eb, ec };

0 commit comments

Comments
 (0)