mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 13:53:38 +00:00
Fix vector of table with naked ptr (#8830)
* create test that fails to compile * fix the issue * add test body * force commit gneerated header * build failures * fix bazel some more
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
#include "native_type_test_generated.h"
|
||||
#include "test_assert.h"
|
||||
#include "util_test.h"
|
||||
#include "vector_table_naked_ptr_test.h"
|
||||
|
||||
void FlatBufferBuilderTest();
|
||||
|
||||
@@ -1723,6 +1724,7 @@ int FlatBufferTests(const std::string& tests_data_path) {
|
||||
FixedLengthArraySpanTest(tests_data_path);
|
||||
DoNotRequireEofTest(tests_data_path);
|
||||
JsonUnionStructTest();
|
||||
VectorTableNakedPtrTest();
|
||||
#else
|
||||
// Guard against -Wunused-parameter.
|
||||
(void)tests_data_path;
|
||||
|
||||
Reference in New Issue
Block a user