dsdl_const_1.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
3  */
4 
5 #include <gtest/gtest.h>
6 #include <uavcan/Timestamp.hpp>
7 
8 /*
9  * Objective of this test is to make sure that the generated types are being linked correcly.
10  * This test requests the address of some static const member variables to make sure that there
11  * will be no duplicated symbol linking errors.
12  */
13 TEST(DsdlConst1, Timestamp)
14 {
15  using uavcan::Timestamp;
16 
17  std::cout << &Timestamp::UNKNOWN << std::endl;
18 }
TEST(DsdlConst1, Timestamp)


uavcan_communicator
Author(s):
autogenerated on Wed Jan 11 2023 03:59:39