diff --git a/test/TextToBinary.cpp b/test/TextToBinary.cpp index 060310fbe..a7ce589db 100644 --- a/test/TextToBinary.cpp +++ b/test/TextToBinary.cpp @@ -89,12 +89,6 @@ TEST(TextToBinary, Default) { ASSERT_EQ(SPV_SUCCESS, error); } - struct bin { - bin(spv_binary binary) : binary(binary) {} - ~bin() { spvBinaryDestroy(binary); } - spv_binary binary; - } bin(binary); - EXPECT_NE(nullptr, text.str); EXPECT_NE(0, text.length);