Skip to content

Commit

Permalink
Explicitly reference various exported members
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Dec 29, 2023
1 parent ba6fe12 commit db2acc3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions wpimath/src/test/quick_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,22 @@ int main(int arc, char** argv) {
if (unpacked_data.nominalVoltage.value() != kExpectedData.nominalVoltage.value()) {
return 1;
}

if (TableStruct_plant_2eproto::offsets[0] != ~0u) {
return 2;
}

if (!&descriptor_table_plant_2eproto) {
return 3;
}

if (!&wpi::proto::_ProtobufDCMotor_default_instance_) {
return 4;
}

// google::protobuf::Arena::CreateMaybeMessage<wpi::proto::ProtobufDCMotor>(&arena);

wpi::proto::ProtobufDCMotor test;

return 0;
}

0 comments on commit db2acc3

Please sign in to comment.